From c9fa92954b1c6363d16be1e8b904c2aac7acebe5 Mon Sep 17 00:00:00 2001 From: kcwu Date: Fri, 4 Jun 2004 05:10:20 +0000 Subject: strcasestr() is OS dependent function git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2052 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/proto.h b/include/proto.h index a0b22fc2..066df340 100644 --- a/include/proto.h +++ b/include/proto.h @@ -188,7 +188,6 @@ int dice_main(void); int vedit(char *fpath, int saveheader, int *islocal); void write_header(FILE *fp); void addsignature(FILE *fp, int ifuseanony); -char *strcasestr(const char *big, const char *little); void auto_backup(void); void restore_backup(void); char *ask_tmpbuf(int y); @@ -366,6 +365,9 @@ char *completeutmp_getname(int where); /* osdep */ int cpuload(char *str); double swapused(long *total, long *used); +#ifdef __linux__ +char *strcasestr(const char *big, const char *little); +#endif /* othello */ int othello_main(void); -- cgit v1.2.3