blob: 4e5dd8112cb93f33cc3cdbb12968d769fc7d0e0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ae,v 1.2 1998/08/07 10:35:53 agc Exp $
--- zipup.c.orig Mon Oct 21 13:33:48 1991
+++ zipup.c Sat Jun 20 17:03:09 1998
@@ -34,10 +34,15 @@
# include <fcntl.h>
# define fhow (O_RDONLY|O_BINARY)
# else /* !MSDOS */
+#ifdef MODERN
+#include <fcntl.h>
+#include <unistd.h>
+#else
int open OF((char *, int));
int read OF((int, char *, int));
int close OF((int));
int lseek OF((int,long,int));
+#endif
# define fhow 0
# endif /* ?MSDOS */
typedef int ftype;
|