[FreeBSD] Fix build on FreeBSD after modesetting import.
authorRobert Noland <rnoland@2hip.net>
Tue, 23 Dec 2008 18:56:23 +0000 (13:56 -0500)
committerRobert Noland <rnoland@2hip.net>
Tue, 23 Dec 2008 18:56:23 +0000 (13:56 -0500)
bsd-core/drm_mode.h [new symlink]
shared-core/drm_mode.h

diff --git a/bsd-core/drm_mode.h b/bsd-core/drm_mode.h
new file mode 120000 (symlink)
index 0000000..a43f138
--- /dev/null
@@ -0,0 +1 @@
+../shared-core/drm_mode.h
\ No newline at end of file
index 601d2bd839f6fc657b47bd553fbd2f7d6aaed5a1..9b92733d97cb4e108f536f521aeeef33f355a6ca 100644 (file)
 #ifndef _DRM_MODE_H
 #define _DRM_MODE_H
 
+#ifdef __linux__
 #if !defined(__KERNEL__) && !defined(_KERNEL)
 #include <stdint.h>
 #else
 #include <linux/kernel.h>
 #endif
+#endif
 
 #define DRM_DISPLAY_INFO_LEN   32
 #define DRM_CONNECTOR_NAME_LEN 32