All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH:libdrm] include <sys/sysmacros.h> directly for major() and minor()
@ 2015-07-07  0:45 Alan Coopersmith
  2015-07-08 16:19 ` Emil Velikov
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Coopersmith @ 2015-07-07  0:45 UTC (permalink / raw)
  To: dri-devel

Linux seems to pick this up via another header, but Solaris needs it
explictly included, or we get undefined symbol errors for major & minor.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
---
 libkms/linux.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libkms/linux.c b/libkms/linux.c
index 4d47148..f1767c8 100644
--- a/libkms/linux.c
+++ b/libkms/linux.c
@@ -40,6 +40,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <sys/stat.h>
+#include <sys/sysmacros.h>
 
 #include "libdrm_macros.h"
 #include "internal.h"
-- 
1.7.9.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-08 18:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-07  0:45 [PATCH:libdrm] include <sys/sysmacros.h> directly for major() and minor() Alan Coopersmith
2015-07-08 16:19 ` Emil Velikov
2015-07-08 17:39   ` Alan Coopersmith
2015-07-08 17:41     ` [PATCH:libdrm] include <sys/types.h> & <sys/mkdev.h> " Alan Coopersmith
2015-07-08 17:59       ` Emil Velikov
2015-07-08 18:01         ` Alan Coopersmith

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.