diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -7,11 +7,18 @@ $Date$ created at: Fri Mar 10 17:22:34 JST 1995 + Copyright (C) 1995 Yukihiro Matsumoto + ************************************************/ #include "defines.h" #include "config.h" #include "util.h" +#ifdef HAVE_STRING_H +# include <string.h> +#else +char *strchr(); +#endif unsigned long scan_oct(start, len, retlen) @@ -30,8 +37,6 @@ int *retlen; return retval; } -extern char *strchr(); - unsigned long scan_hex(start, len, retlen) char *start; |