summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hashmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hashmap.h b/hashmap.h
index a816ad47b1..b64567bc17 100644
--- a/hashmap.h
+++ b/hashmap.h
@@ -15,7 +15,7 @@ extern unsigned int memihash(const void *buf, size_t len);
/* data structures */
-struct hashmap_entry {
+struct __attribute__((__packed__)) hashmap_entry {
struct hashmap_entry *next;
unsigned int hash;
};