mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 15:51:51 -04:00
- Pass maintainership to submitter PR: 132160 Submitted by: Florian Smeets <flo@kasimir.com>
26 lines
898 B
C
26 lines
898 B
C
--- eperl_proto.h.orig 2009-02-27 12:23:02.000000000 +0000
|
|
+++ eperl_proto.h 2009-02-27 12:24:39.000000000 +0000
|
|
@@ -36,6 +36,7 @@
|
|
#define EPERL_PROTO_H 1
|
|
|
|
/*_BEGIN_PROTO_*/
|
|
+#include "eperl_getopt.h"
|
|
|
|
/* eperl_main.c */
|
|
extern int mode;
|
|
@@ -79,9 +80,14 @@
|
|
extern char *ePerl_Efwrite(char *cpBuf, int nBuf, int cNum, char *cpOut);
|
|
extern char *ePerl_Cfwrite(char *cpBuf, int nBuf, int cNum, char *cpOut);
|
|
extern char *strnchr(char *buf, char chr, int n);
|
|
-extern char *strnstr(char *buf, char *str, int n);
|
|
+/*extern char *strnstr(char *buf, char *str, int n);*/
|
|
extern char *strncasestr(char *buf, char *str, int n);
|
|
+#if defined(__FreeBSD__)
|
|
+#include <osreldate.h>
|
|
+#if __FreeBSD_version <= 800057 && __FreeBSD_version > 800000 || __FreeBSD_version <= 701100
|
|
extern char *strndup(char *buf, int n);
|
|
+#endif
|
|
+#endif
|
|
extern char *ePerl_Bristled2Plain(char *cpBuf);
|
|
|
|
/* eperl_pp.c */
|