pkgsrc/devel/mit-pthreads/patches/patch-bh

19 lines
573 B
Text

$NetBSD: patch-bh,v 1.2 1999/04/08 19:41:56 bad Exp $
--- machdep/netbsd-1.1/__string.h.orig Tue Apr 23 08:11:48 1996
+++ machdep/netbsd-1.1/__string.h Thu Apr 8 20:34:40 1999
@@ -1,4 +1,5 @@
+#include <sys/types.h>
#include <machine/ansi.h>
#ifdef _BSD_SIZE_T_
typedef _BSD_SIZE_T_ size_t;
@@ -14,7 +15,7 @@
char *index __P((const char *, int));
char *rindex __P((const char *, int));
char *strdup __P((const char *));
-void strmode __P((int, char *));
+void strmode __P((mode_t, char *));
char *strsep __P((char **, const char *));
__END_DECLS
#endif