about summary refs log tree commit diff
path: root/sysdeps/generic/strpbrk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/strpbrk.c')
-rw-r--r--sysdeps/generic/strpbrk.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysdeps/generic/strpbrk.c b/sysdeps/generic/strpbrk.c
index 75b2ed1440..3b533e1b87 100644
--- a/sysdeps/generic/strpbrk.c
+++ b/sysdeps/generic/strpbrk.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1994, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1994, 1996, 1997 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -16,8 +16,13 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#include <string.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
+#if defined _LIBC || defined HAVE_CONFIG_H
+# include <string.h>
+#endif
 
 /* Find the first occurrence in S of any character in ACCEPT.  */
 char *