summaryrefslogtreecommitdiffstats
path: root/include/libnetfilter_cttimeout
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2012-02-29 08:07:23 +0100
committerJan Engelhardt <jengelh@medozas.de>2012-02-29 08:10:58 +0100
commit6a56d048846547a5d5f5afded654f965b156c9b4 (patch)
treeec29280befa1bda0acd0436ef0893b7eb6b528dc /include/libnetfilter_cttimeout
parent5422bed9535af8ce82bdb31b2544c775c8cc62d0 (diff)
Add stdint header and type corrections
1. stdint.h is needed since you use uintXX_t in various places. 2. mnl_attr_get_type yields uint16_t, prefer to use it. 3. Since ->nlattr_max is uint32_t, most dependent uses should be unsigned too. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/libnetfilter_cttimeout')
-rw-r--r--include/libnetfilter_cttimeout/libnetfilter_cttimeout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libnetfilter_cttimeout/libnetfilter_cttimeout.h b/include/libnetfilter_cttimeout/libnetfilter_cttimeout.h
index be37636..89e00b6 100644
--- a/include/libnetfilter_cttimeout/libnetfilter_cttimeout.h
+++ b/include/libnetfilter_cttimeout/libnetfilter_cttimeout.h
@@ -1,6 +1,7 @@
#ifndef _LIBNETFILTER_CTTIMEOUT_H_
#define _LIBNETFILTER_CTTIMEOUT_H_
+#include <stdint.h>
#include <sys/types.h>
#include <linux/netfilter/nfnetlink_conntrack.h>