summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-09-05 11:54:44 +0000
committerRoy Marples <roy@marples.name>2008-09-05 11:54:44 +0000
commit99d755f98fbd68ea54a199f5ce27516e37108cd1 (patch)
treebea63bdf9d51b557c5d76f0784c65228788d9efe /common.h
parent0ce8caf249d3f477eacbcb45cf31322798551b2d (diff)
downloaddhcpcd-99d755f98fbd68ea54a199f5ce27516e37108cd1.tar.xz
Pack the dhcp structure.
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common.h b/common.h
index 82adbada..1685c19f 100644
--- a/common.h
+++ b/common.h
@@ -48,9 +48,11 @@
#if __GNUC__ > 2 || defined(__INTEL_COMPILER)
# define _noreturn __attribute__((__noreturn__))
-# define _unused __attribute__((__unused__))
+# define _packed __attribute__((__packed__))
+# define _unused __attribute__((__unused__))
#else
# define _noreturn
+# define _packed
# define _unused
#endif