summaryrefslogtreecommitdiff
path: root/ext/informix
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-10-24 13:15:49 +0000
committerSascha Schumann <sas@php.net>2002-10-24 13:15:49 +0000
commit2909e5c9c9313d25aa2dc85ea63ea51916043234 (patch)
tree7ccd1e817c174a33458372b4e0e7057890c87e3f /ext/informix
parent26617f8b5f02a9bac6999e57315245626ccafb62 (diff)
downloadphp-git-2909e5c9c9313d25aa2dc85ea63ea51916043234.tar.gz
centralize #include "build-defs.h" and drop (sometimes inconsistent) other
instances
Diffstat (limited to 'ext/informix')
-rw-r--r--ext/informix/ifx.ec8
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/informix/ifx.ec b/ext/informix/ifx.ec
index ce2dc75728..47b2eaab51 100644
--- a/ext/informix/ifx.ec
+++ b/ext/informix/ifx.ec
@@ -47,13 +47,17 @@
#ifdef PHP_WIN32
#include <winsock.h>
-#else
-#include "build-defs.h"
+#endif
#if HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
+
+#if HAVE_NETDB_H
#include <netdb.h>
+#endif
+
+#if HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif