path: root/examples/netfilter/nf-log.c
diff options
authorPablo Neira Ayuso <>2015-05-25 20:51:09 +0200
committerPablo Neira Ayuso <>2015-05-26 12:03:09 +0200
commitb180a6ee27674b5060cf54a0149a9109da9d9fd1 (patch)
treec9a0c2e49b8ee9a1db984b0bd8f0dad93bfc3549 /examples/netfilter/nf-log.c
parentb37ae85d43bd3403f1b6b1d3fa8bcf294868e56d (diff)
example: netfilter: get rid of aligned_be64 definitions
This is defined in <linux/types.h>, which is included by the nfnetlink_* header files. Thus, we can get rid of u_int64_t which causes problems to musl according to Felix Janda. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'examples/netfilter/nf-log.c')
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/netfilter/nf-log.c b/examples/netfilter/nf-log.c
index 901bd80..4383b66 100644
--- a/examples/netfilter/nf-log.c
+++ b/examples/netfilter/nf-log.c
@@ -9,11 +9,6 @@
#include <libmnl/libmnl.h>
#include <linux/netfilter.h>
#include <linux/netfilter/nfnetlink.h>
-#ifndef aligned_be64
-#define aligned_be64 u_int64_t __attribute__((aligned(8)))
#include <linux/netfilter/nfnetlink_log.h>
static int parse_attr_cb(const struct nlattr *attr, void *data)