diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-11-04 05:00:14 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-11-04 05:00:14 +0000 |
commit | 3ff37e385bb15e608586b24278ba3dde9ea57151 (patch) | |
tree | 0b09981cfb671da75e612993d4ac3a3ef4a2551b /news/nntp/files/patch-xmit-shlock.c | |
parent | - Fix perl/reinplace problems (diff) |
- reorder patches
- use DIRENT
- honor CFLAGS
- fix missing includes
Notes
Notes:
svn path=/head/; revision=69435
Diffstat (limited to '')
-rw-r--r-- | news/nntp/files/patch-xmit-shlock.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/news/nntp/files/patch-xmit-shlock.c b/news/nntp/files/patch-xmit-shlock.c new file mode 100644 index 000000000000..ab52bd715699 --- /dev/null +++ b/news/nntp/files/patch-xmit-shlock.c @@ -0,0 +1,21 @@ +--- xmit/shlock.c.orig Tue Nov 1 06:54:32 1994 ++++ xmit/shlock.c Sun Jan 9 09:30:04 2000 +@@ -28,7 +28,6 @@ + ** Erik E. Fair <fair@apple.com>, November 12, 1989 + */ + +-#include <stdio.h> + #include <sys/types.h> + #include <fcntl.h> /* Needed on hpux */ + #include <sys/file.h> +@@ -36,6 +35,10 @@ + #ifdef NNTPSRC + #include "../conf.h" + #endif ++#ifdef BSD_44 ++#define _ANSI_SOURCE ++#endif ++#include <stdio.h> + + #define LOCK_SET 0 + #define LOCK_FAIL 1 |