summaryrefslogtreecommitdiff
path: root/devel/mit-pthreads/patches/patch-bj
blob: 90f557086935d400d9b68116ba6f6ff470492451 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$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