summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.h
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-16 04:31:40 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-16 04:31:40 (GMT)
commit658516617c4e31bac7c894631d99f0b718a4b7ae (patch)
tree0a50de2416cdbad079daa9446df4ab88a0c898a0 /Modules/socketmodule.h
parent4678dc818fe923687d7d52b7d575444c3f339769 (diff)
downloadcpython-658516617c4e31bac7c894631d99f0b718a4b7ae.zip
cpython-658516617c4e31bac7c894631d99f0b718a4b7ae.tar.gz
cpython-658516617c4e31bac7c894631d99f0b718a4b7ae.tar.bz2
Get socketmodule to build after adding netlink support.
Diffstat (limited to 'Modules/socketmodule.h')
-rw-r--r--Modules/socketmodule.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h
index 0c5bfad..ae38c86 100644
--- a/Modules/socketmodule.h
+++ b/Modules/socketmodule.h
@@ -33,6 +33,9 @@
#endif
#ifdef HAVE_LINUX_NETLINK_H
+# ifdef HAVE_ASM_TYPES_H
+# include <asm/types.h>
+# endif
# include <linux/netlink.h>
#else
# undef AF_NETLINK