summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/internal.h b/src/internal.h
index 6449a9f..a10d874 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -90,6 +90,7 @@ const char *nft_verdict2str(uint32_t verdict);
int nft_str2verdict(const char *verdict);
int nft_get_value(enum nft_type type, void *val, void *out);
+#include <stdio.h>
int nft_fprintf(FILE *fp, void *obj, uint32_t type, uint32_t flags, int (*snprintf_cb)(char *buf, size_t bufsiz, void *obj, uint32_t type, uint32_t flags));
void xfree(const void *ptr);