[glib] Fix socket-related configure tests on old platforms



commit 61f130015bbbbc99ce0189cca1c95f7e2e735202
Author: paul <ephraim_owns hotmail com>
Date:   Sun Apr 26 13:16:34 2009 -0400

    Fix socket-related configure tests on old platforms
    
    include <sys/types.h> in case <sys/socket.h> doesn't. #580299
---
 configure.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]