diff --git a/acconfig.h b/acconfig.h
index 7c8889b6f41bceb1dfda1c0fcdda057641a2090e..3d40c40326784ef1c8702b845dacf6eff2bb36ce 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -87,10 +87,6 @@
 #define LDAP_NEEDS_PROTOTYPES 1
 #endif
 
-#ifdef HAVE_STDDEF_H
-#	include <stddef.h>
-#endif
-
 #ifndef LDAP_REL_ENG
 #if (LDAP_VENDOR_VERSION == 000000) && !defined(LDAP_DEVEL)
 #define LDAP_DEVEL
@@ -100,6 +96,10 @@
 #endif
 #endif
 
+#ifdef HAVE_STDDEF_H
+#	include <stddef.h>
+#endif
+
 #ifdef HAVE_EBCDIC 
 /* ASCII/EBCDIC converting replacements for stdio funcs
  * vsnprintf and snprintf are used too, but they are already
diff --git a/configure b/configure
index 3ac7186856a65071180f94c0f6c9cd65e8051e06..1bbc5af8997edea0648cc7cdefdde496eadc89f9 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # $OpenLDAP$
-# from OpenLDAP: pkg/ldap/configure.in,v 1.506 2003/12/10 07:45:54 hyc Exp  
+# from OpenLDAP: pkg/ldap/configure.in,v 1.507 2003/12/14 05:46:35 kurt Exp  
 
 # This work is part of OpenLDAP Software <http://www.openldap.org/>.
 #
diff --git a/include/portable.h.in b/include/portable.h.in
index 51171d558f7e9e715e5509b6d3805927f22c9b05..03445bf0af44f0f1df32a19ab058ad0c90dddf7b 100644
--- a/include/portable.h.in
+++ b/include/portable.h.in
@@ -1047,10 +1047,6 @@
 #define LDAP_NEEDS_PROTOTYPES 1
 #endif
 
-#ifdef HAVE_STDDEF_H
-#	include <stddef.h>
-#endif
-
 #ifndef LDAP_REL_ENG
 #if (LDAP_VENDOR_VERSION == 000000) && !defined(LDAP_DEVEL)
 #define LDAP_DEVEL
@@ -1060,6 +1056,10 @@
 #endif
 #endif
 
+#ifdef HAVE_STDDEF_H
+#	include <stddef.h>
+#endif
+
 #ifdef HAVE_EBCDIC 
 /* ASCII/EBCDIC converting replacements for stdio funcs
  * vsnprintf and snprintf are used too, but they are already