FreeBSD fix: strnstr() is already defined.

This commit is contained in:
curt 2002-02-10 03:28:57 +00:00
parent 8c41081a5c
commit 1a8bc06cc6

View File

@ -1106,8 +1106,10 @@ char *strlwr(char *);
char *rptstrip(char *); char *rptstrip(char *);
char *rptfmt(char *); char *rptfmt(char *);
char *rptfmti(char *, unsigned short int); char *rptfmti(char *, unsigned short int);
#ifndef __FreeBSD__ // strnstr is already defined on FreeBSD
char *strnstr(char *, char *, size_t); char *strnstr(char *, char *, size_t);
#endif
int stregion(int); int stregion(int);
int ccregion(char *); int ccregion(char *);