]> git.sur5r.net Git - openldap/commitdiff
Use both <string.h> and <strings.h> if BOTH_STRINGS_H is defined
authorHoward Chu <hyc@openldap.org>
Fri, 26 Jul 2002 11:31:29 +0000 (11:31 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 26 Jul 2002 11:31:29 +0000 (11:31 +0000)
include/ac/string.h

index ae988b1384987b918d53b63372c304b27c800c8c..b159ec2171855e8b5643160b1b9acaa5a32b3c9c 100644 (file)
@@ -20,7 +20,9 @@
 #else
 #      ifdef HAVE_STRING_H
 #              include <string.h>
-#      elif HAVE_STRINGS_H
+#      endif
+#      if defined(HAVE_STRINGS_H) && (!defined(HAVE_STRING_H) ||
+               defined(BOTH_STRINGS_H))
 #              include <strings.h>
 #      endif