summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Stewart <pstew@google.com>2016-12-12 22:08:50 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-12-12 22:08:50 +0000
commit3872c41d0bfb0dbe6c37ea5db5cc1e1d7a0d7971 (patch)
tree3f63176010e349ee1722a1a133c25191df38dcf9
parent833985690db54f9ad3ee7e8f3147a67da8c04760 (diff)
parent90efded83ccbeec16a5dd2cd89ae861b89e29b7d (diff)
downloadnfacct-3872c41d0bfb0dbe6c37ea5db5cc1e1d7a0d7971.tar.gz
Update for libnl 3.2.25 am: 68446ae942 am: 2af6d95ef0
am: 90efded83c Change-Id: I47babf71b1b0d2ea8f3ffd8a981bcca92fed9339
-rw-r--r--nfacct.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/nfacct.c b/nfacct.c
index 7f520ac..b3dfaad 100644
--- a/nfacct.c
+++ b/nfacct.c
@@ -23,8 +23,10 @@
#include <unistd.h>
#include <time.h>
#include <errno.h>
+#include <endian.h>
-#include <netlink-local.h>
+#include <netlink-private/object-api.h>
+#include <netlink-private/types.h>
#include <linux/netlink.h>
#include <linux/netfilter/nfnetlink.h>
#include <linux/netfilter/nfnetlink_acct.h>
@@ -62,6 +64,8 @@ static int nfacct_cmd_restore(int argc, char *argv[]);
#define nl_socket_free nl_handle_destroy
#endif
+#define NL_DBG(LVL,FMT,ARG...) do { } while(0)
+
static void usage(char *argv[])
{
fprintf(stderr, "Usage: %s command [parameters]...\n", argv[0]);