pkgsrc/devel/mit-pthreads/patches/patch-bj
1999-04-29 17:05:49 +00:00

16 lines
496 B
Text

$NetBSD: patch-bj,v 1.1 1999/04/29 17:05:49 bad Exp $
--- include/unistd.h.orig Thu Apr 25 05:17:47 1996
+++ include/unistd.h Thu Apr 29 18:49:31 1999
@@ -176,6 +176,11 @@
unsigned ualarm __P((unsigned, unsigned));
void usleep __P((unsigned));
int vfork __P((void));
+int getopt __P((int, char * const *, const char *));
+extern char *optarg; /* getopt(3) external variables */
+extern int opterr;
+extern int optind;
+extern int optopt;
#endif /* !_POSIX_SOURCE */
__END_DECLS