summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/string.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/compat/string.h b/compat/string.h
index c2ecd0b..78f58bc 100644
--- a/compat/string.h
+++ b/compat/string.h
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: string.h,v 1.5 2004/03/17 18:14:12 das Exp $
+ * RCS: @(#) $Id: string.h,v 1.6 2005/04/26 00:45:01 das Exp $
*/
#ifndef _STRING
@@ -26,7 +26,11 @@
#include <sys/types.h>
+#ifdef __APPLE__
+extern VOID * memchr _ANSI_ARGS_((CONST VOID *s, int c, size_t n));
+#else
extern char * memchr _ANSI_ARGS_((CONST VOID *s, int c, size_t n));
+#endif
extern int memcmp _ANSI_ARGS_((CONST VOID *s1, CONST VOID *s2,
size_t n));
extern char * memcpy _ANSI_ARGS_((VOID *t, CONST VOID *f, size_t n));