Fix socket-related configure tests on old platforms
authorpaul <ephraim_owns@hotmail.com>
Sun, 26 Apr 2009 17:16:34 +0000 (13:16 -0400)
committerDan Winship <danw@gnome.org>
Sun, 26 Apr 2009 17:22:10 +0000 (13:22 -0400)
include <sys/types.h> in case <sys/socket.h> doesn't. #580299

configure.in

index 31725a7..e4e82c8 100644 (file)
@@ -961,6 +961,7 @@ if test $glib_native_win32 = yes; then
   "]
 else
   glib_inet_includes=["
+#include <sys/types.h>
 #include <sys/socket.h>
   "]
 fi