pkgsrc/x11/libdrm/patches/patch-libkms_linux.c
2012-02-16 20:30:55 +00:00

16 lines
349 B
C

$NetBSD: patch-libkms_linux.c,v 1.1 2012/02/16 20:30:56 hans Exp $
--- libkms/linux.c.orig 2010-03-06 00:21:13.000000000 +0100
+++ libkms/linux.c 2012-01-10 20:40:06.019270181 +0100
@@ -40,6 +40,11 @@
#include <sys/stat.h>
+#ifdef __sun
+#include <sys/types.h>
+#include <sys/mkdev.h>
+#endif
+
#include "internal.h"
#define PATH_SIZE 512