Lines 1-5
Link Here
|
1 |
--- eperl_proto.h.orig Fri Jul 10 09:52:24 1998 |
1 |
--- eperl_proto.h.orig 2009-02-27 12:23:02.000000000 +0000 |
2 |
+++ eperl_proto.h Wed May 30 19:13:42 2007 |
2 |
+++ eperl_proto.h 2009-02-27 12:24:39.000000000 +0000 |
3 |
@@ -36,6 +36,7 @@ |
3 |
@@ -36,6 +36,7 @@ |
4 |
#define EPERL_PROTO_H 1 |
4 |
#define EPERL_PROTO_H 1 |
5 |
|
5 |
|
Lines 8-19
Link Here
|
8 |
|
8 |
|
9 |
/* eperl_main.c */ |
9 |
/* eperl_main.c */ |
10 |
extern int mode; |
10 |
extern int mode; |
11 |
@@ -79,7 +80,7 @@ |
11 |
@@ -79,9 +80,14 @@ |
12 |
extern char *ePerl_Efwrite(char *cpBuf, int nBuf, int cNum, char *cpOut); |
12 |
extern char *ePerl_Efwrite(char *cpBuf, int nBuf, int cNum, char *cpOut); |
13 |
extern char *ePerl_Cfwrite(char *cpBuf, int nBuf, int cNum, char *cpOut); |
13 |
extern char *ePerl_Cfwrite(char *cpBuf, int nBuf, int cNum, char *cpOut); |
14 |
extern char *strnchr(char *buf, char chr, int n); |
14 |
extern char *strnchr(char *buf, char chr, int n); |
15 |
-extern char *strnstr(char *buf, char *str, int n); |
15 |
-extern char *strnstr(char *buf, char *str, int n); |
16 |
+/*extern char *strnstr(char *buf, char *str, int n);*/ |
16 |
+/*extern char *strnstr(char *buf, char *str, int n);*/ |
17 |
extern char *strncasestr(char *buf, char *str, int n); |
17 |
extern char *strncasestr(char *buf, char *str, int n); |
|
|
18 |
+#if defined(__FreeBSD__) |
19 |
+#include <osreldate.h> |
20 |
+#if __FreeBSD_version <= 800057 && __FreeBSD_version > 800000 || __FreeBSD_version <= 701100 |
18 |
extern char *strndup(char *buf, int n); |
21 |
extern char *strndup(char *buf, int n); |
|
|
22 |
+#endif |
23 |
+#endif |
19 |
extern char *ePerl_Bristled2Plain(char *cpBuf); |
24 |
extern char *ePerl_Bristled2Plain(char *cpBuf); |
|
|
25 |
|
26 |
/* eperl_pp.c */ |