1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/x11/mgapdesk/files/patch-aa

20 lines
460 B
Plaintext

--- src/io.h.orig Sat Jun 2 12:57:44 2001
+++ src/io.h Sat Jun 2 12:59:56 2001
@@ -10,11 +10,16 @@
* Last modified : March 2001.
*********************************************************/
+#include <sys/param.h> /* for BSD */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
+#ifdef BSD
+#include <machine/cpufunc.h>
+#else
#include <sys/io.h>
+#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>