summaryrefslogtreecommitdiff
path: root/ext/dbase
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2001-05-24 10:07:29 +0000
committerStig Bakken <ssb@php.net>2001-05-24 10:07:29 +0000
commit1beda9ee1e7a7bd317d65ddc05502047ce1af4b2 (patch)
tree1ed78ec09c3c92d0c86bbcd5bce0c0d3d0e385da /ext/dbase
parent9270ae31eedf1746beec35250555a41979566598 (diff)
downloadphp-git-1beda9ee1e7a7bd317d65ddc05502047ce1af4b2.tar.gz
* include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)
Diffstat (limited to 'ext/dbase')
-rw-r--r--ext/dbase/dbase.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/ext/dbase/dbase.c b/ext/dbase/dbase.c
index 63312f47b6..e8ecf09eb8 100644
--- a/ext/dbase/dbase.c
+++ b/ext/dbase/dbase.c
@@ -16,10 +16,8 @@
+----------------------------------------------------------------------+
*/
-#include <stdlib.h>
-
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
#endif
#include "php.h"
@@ -27,6 +25,12 @@
#include "fopen_wrappers.h"
#include "php_globals.h"
+#include <stdlib.h>
+
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
#if DBASE
#include "php_dbase.h"
#include "dbf.h"