opnsense-ports/games/quake2lnx/files/patch-src_linux_rw__svgalib.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

12 lines
305 B
C

--- src/linux/rw_svgalib.c.orig Thu Jun 12 18:41:01 2003
+++ src/linux/rw_svgalib.c Thu Jun 12 18:41:41 2003
@@ -36,7 +36,9 @@
#include <termios.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
+#ifdef __linux__
#include <sys/vt.h>
+#endif
#include <stdarg.h>
#include <stdio.h>
#include <signal.h>