summaryrefslogtreecommitdiff
path: root/histlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'histlib.h')
-rw-r--r--histlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/histlib.h b/histlib.h
index 9986a2e..9627b24 100644
--- a/histlib.h
+++ b/histlib.h
@@ -51,9 +51,9 @@
#endif
#ifndef member
-# ifndef strchr
+# if !defined (strchr) && !defined (__STDC__)
extern char *strchr ();
-# endif
+# endif /* !strchr && !__STDC__ */
#define member(c, s) ((c) ? ((char *)strchr ((s), (c)) != (char *)NULL) : 0)
#endif