diff Modules/socketmodule.h @ 36298:9eeaa33f9640 legacy-trunk

Get socketmodule to build after adding netlink support.
author Neal Norwitz <nnorwitz@gmail.com>
date Mon, 16 Jan 2006 04:31:40 +0000
parents ae4480935016
children c43787e6d706
line wrap: on
line diff
--- a/Modules/socketmodule.h	Sun Jan 15 16:11:28 2006 +0000
+++ b/Modules/socketmodule.h	Mon Jan 16 04:31:40 2006 +0000
@@ -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