diff options
Diffstat (limited to 'include/libnetfilter_log/linux_nfnetlink_log.h')
-rw-r--r-- | include/libnetfilter_log/linux_nfnetlink_log.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libnetfilter_log/linux_nfnetlink_log.h b/include/libnetfilter_log/linux_nfnetlink_log.h index f52cb2f..4b32211 100644 --- a/include/libnetfilter_log/linux_nfnetlink_log.h +++ b/include/libnetfilter_log/linux_nfnetlink_log.h @@ -1,6 +1,10 @@ #ifndef _NFNETLINK_LOG_H #define _NFNETLINK_LOG_H +#ifndef aligned_u64 +#define aligned_u64 unsigned long long __attribute__((aligned(8))) +#endif + /* This file describes the netlink messages (i.e. 'protocol packets'), * and not any kind of function definitions. It is shared between kernel and * userspace. Don't put kernel specific stuff in here */ @@ -8,10 +12,6 @@ #include <linux/types.h> #include <libnfnetlink/linux_nfnetlink.h> -#ifndef aligned_u64 -#define aligned_u64 unsigned long long __attribute__((aligned(8))) -#endif - enum nfulnl_msg_types { NFULNL_MSG_PACKET, /* packet from kernel to userspace */ NFULNL_MSG_CONFIG, /* connect to a particular queue */ |