FreeBSD fix: strnstr() is already defined.
This commit is contained in:
parent
8c41081a5c
commit
1a8bc06cc6
@ -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 *);
|
||||||
|
Loading…
Reference in New Issue
Block a user