diff options
author | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=gandalf/emailAddress=gandalf@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=gandalf/emailAddress=gandalf@netfilter.org> | 2005-09-11 17:32:39 +0000 |
---|---|---|
committer | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=gandalf/emailAddress=gandalf@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=gandalf/emailAddress=gandalf@netfilter.org> | 2005-09-11 17:32:39 +0000 |
commit | 1f7122360751137e39d8c0211d1dc35b18b77f70 (patch) | |
tree | 458569a112c6195e84f555fe89197ec9fd4043db /include | |
parent | fe7efe614480f28b930a68e94a448f017d55ccb0 (diff) |
Add the aligned_u64 typedef, it's defined in linux/types.h in the kernel.
We can't include that header since it conflicts with sys/types.h
Diffstat (limited to 'include')
-rw-r--r-- | include/iptables_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/iptables_common.h b/include/iptables_common.h index db5e93f..28bda9f 100644 --- a/include/iptables_common.h +++ b/include/iptables_common.h @@ -7,6 +7,10 @@ enum exittype { PARAMETER_PROBLEM, VERSION_PROBLEM }; + +/* this is a special 64bit data type that is 8-byte aligned */ +#define aligned_u64 unsigned long long __attribute__((aligned(8))) + extern void exit_printhelp() __attribute__((noreturn)); extern void exit_tryhelp(int) __attribute__((noreturn)); int check_inverse(const char option[], int *invert, int *optind, int argc); |