pkgsrc/emulators/xmess/patches/patch-ad
joerg e904b7b9c8 Add DragonFly support. In the DGA drivers, include sys/time.h to get
struct timeval on DragonFly, otherwise sys/resource.h doesn't compile.
2005-11-17 19:54:08 +00:00

12 lines
354 B
Text

$NetBSD: patch-ad,v 1.5 2005/11/17 19:54:09 joerg Exp $
--- src/unix/video-drivers/xf86_dga2.c.orig 2005-11-17 16:14:12.000000000 +0000
+++ src/unix/video-drivers/xf86_dga2.c
@@ -9,6 +9,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
+#include <sys/time.h>
#include <sys/wait.h>
#include <sys/resource.h>
#include <X11/Xlib.h>