mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
a12cebc971
A 3d accelerator card supported by Mesa is highly recommended (3dfx voodoo/voodo2 / nvidia riva tnt are known to work.) PR: 12483 Submitted by: Brian Buchanan <brian@CSUA.Berkeley.EDU>
22 lines
517 B
Plaintext
22 lines
517 B
Plaintext
--- gfc-0.8.8.1b/utils/src/gmmap.h.orig Wed Feb 17 14:31:03 1999
|
|
+++ gfc-0.8.8.1b/utils/src/gmmap.h Sat Jun 26 21:43:18 1999
|
|
@@ -12,7 +12,18 @@
|
|
|
|
#include <unistd.h>
|
|
|
|
+/* the next lines are to define BSD */
|
|
+/* see http://www.freebsd.org/handbook/porting.html for why we do this */
|
|
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
|
|
+#include <sys/param.h>
|
|
+#endif
|
|
+
|
|
#ifdef _LINUX_
|
|
+#include <sys/mman.h>
|
|
+#include <sys/types.h>
|
|
+#endif
|
|
+
|
|
+#ifdef BSD
|
|
#include <sys/mman.h>
|
|
#include <sys/types.h>
|
|
#endif
|