85a5b3222c
- add some missing header files
14 lines
401 B
Plaintext
14 lines
401 B
Plaintext
$OpenBSD: patch-gcc_libgcc2_c,v 1.1 2004/02/10 20:14:25 sturm Exp $
|
|
--- gcc/libgcc2.c.orig 2004-02-08 02:20:49.000000000 -0700
|
|
+++ gcc/libgcc2.c 2004-02-08 02:24:13.000000000 -0700
|
|
@@ -1740,6 +1740,9 @@ mprotect (char *addr, int len, int prot)
|
|
return -1;
|
|
}
|
|
|
|
+#else
|
|
+#include <sys/types.h>
|
|
+#include <sys/mman.h>
|
|
#endif /* WINNT && ! __CYGWIN__ && ! _UWIN */
|
|
|
|
#ifdef TRANSFER_FROM_TRAMPOLINE
|