summaryrefslogtreecommitdiffstats
path: root/src/nf-log.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-08-02 14:34:22 (GMT)
committerThomas Haller <thaller@redhat.com>2023-08-02 20:20:13 (GMT)
commit862eed54e3882c64a5017789229b6dc9337ace17 (patch)
treea9ee8a41591ea0b046f4ab9d28f514d7f208c68d /src/nf-log.c
parent2b3cd741d9944f799467b5a59fc9f3a94444a479 (diff)
downloadlibnl-862eed54e3882c64a5017789229b6dc9337ace17.zip
libnl-862eed54e3882c64a5017789229b6dc9337ace17.tar.gz
libnl-862eed54e3882c64a5017789229b6dc9337ace17.tar.bz2
all: cleanup includes and use "nm-default.h"
Diffstat (limited to 'src/nf-log.c')
-rw-r--r--src/nf-log.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/nf-log.c b/src/nf-log.c
index c9ad560..17f73a8 100644
--- a/src/nf-log.c
+++ b/src/nf-log.c
@@ -5,14 +5,16 @@
* Copyright (c) 2007 Secure Computing Corporation
*/
+#include "nl-default.h"
+
+#include <linux/netfilter/nfnetlink_log.h>
+#include <linux/netlink.h>
+
#include <netlink/cli/utils.h>
#include <netlink/cli/link.h>
#include <netlink/netfilter/nfnl.h>
#include <netlink/netfilter/log.h>
-#include <linux/netfilter/nfnetlink_log.h>
-#include <linux/netlink.h>
-
static struct nfnl_log *alloc_log(void)
{
struct nfnl_log *log;