diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-07-22 17:41:46 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-07-22 17:41:46 +0000 |
commit | ee57d2e58bb0cd51014659f6728e1a361144e8c3 (patch) | |
tree | f1f75600906b0385cbbfbe76611dffe8de7a24bc /news | |
parent | More Fixes to build (diff) |
Fix a build problem on STABLE/CURRENT
Notes
Notes:
svn path=/head/; revision=63394
Diffstat (limited to 'news')
-rw-r--r-- | news/ifmail/files/patch-clibrary.h | 40 |
1 files changed, 25 insertions, 15 deletions
diff --git a/news/ifmail/files/patch-clibrary.h b/news/ifmail/files/patch-clibrary.h index 24658cad9254..0f7546eac7a0 100644 --- a/news/ifmail/files/patch-clibrary.h +++ b/news/ifmail/files/patch-clibrary.h @@ -1,15 +1,25 @@ -*** iflib/clibrary.h Sat Sep 11 17:16:11 1993 ---- iflib/clibrary.h.neu Wed Feb 19 20:53:56 1997 -*************** -*** 121,128 **** ---- 121,130 ---- - extern void exit(); - /* =()<extern @<GETPIDVAL>@ getpid();>()= */ - extern int getpid(); -+ #ifndef __FreeBSD__ - /* =()<extern @<LSEEKVAL>@ lseek();>()= */ - extern long lseek(); -+ #endif - /* =()<extern @<QSORTVAL>@ qsort();>()= */ - extern int qsort(); - /* =()<extern @<SLEEPVAL>@ sleep();>()= */ +--- iflib/clibrary.h.orig Sat Sep 11 17:16:11 1993 ++++ iflib/clibrary.h Mon Jul 22 19:38:20 2002 +@@ -102,9 +102,11 @@ + extern FREEVAL free(); + extern POINTER malloc(); + extern POINTER realloc(); ++#ifndef __FreeBSD__ + #if defined(ACT_MMAP) + extern char *mmap(); + #endif /* defined(ACT_MMAP) */ ++#endif + + /* Some backward systems need this. */ + extern FILE *popen(); +@@ -121,8 +123,10 @@ + extern void exit(); + /* =()<extern @<GETPIDVAL>@ getpid();>()= */ + extern int getpid(); ++#ifndef __FreeBSD__ + /* =()<extern @<LSEEKVAL>@ lseek();>()= */ + extern long lseek(); ++#endif + /* =()<extern @<QSORTVAL>@ qsort();>()= */ + extern int qsort(); + /* =()<extern @<SLEEPVAL>@ sleep();>()= */ |