1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Fix compilation: do not redefine the strcasestr function.

PR:		33999
Submitted by:	Miguel Mendez <flynn@eneryhq.homeip.net>
This commit is contained in:
Jimmy Olgeni 2002-01-19 21:43:26 +00:00
parent fda870ff76
commit 5f4f437c94
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53361

View File

@ -0,0 +1,31 @@
--- nessus/html_graph_output.c.old Thu Jan 17 18:44:40 2002
+++ nessus/html_graph_output.c Thu Jan 17 18:47:20 2002
@@ -65,8 +65,9 @@
#include "globals.h"
#include "nsr_output.h"
-
+#ifndef __FreeBSD__
static char* strcasestr(char*, char *);
+#endif
static void insert_img(FILE *, char*);
@@ -90,7 +91,8 @@
/*
* Handy functions
*/
-
+
+#ifndef __FreeBSD__
static char *
strcasestr(char * haystack, char * needle)
{
@@ -109,6 +111,7 @@
}
return NULL;
}
+#endif
static void
insert_img(f, name)