summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-05-28 16:48:08 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2009-05-28 16:48:08 -0300
commit5525479eaacde1962241c431db01a0f7dd39fda7 (patch)
tree3d9728f08f42fb586ba297515b6f4f7e6ef25291
parentc595b8abdaf846ae241b4392d25a00e9a2d6f96d (diff)
downloadpython-inet_diag-5525479eaacde1962241c431db01a0f7dd39fda7.tar.gz
inet_diag: Older kernels don't include linux/types.h in netlink.h
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--python-inet_diag/inet_diag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/python-inet_diag/inet_diag.c b/python-inet_diag/inet_diag.c
index 63c7a23..7cfc7f5 100644
--- a/python-inet_diag/inet_diag.c
+++ b/python-inet_diag/inet_diag.c
@@ -20,6 +20,7 @@
#include <errno.h>
#include <sys/socket.h>
+#include <linux/types.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <arpa/inet.h>