projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0fc400
)
wrap config.h include with defined for KERNEL
author
Dave Airlie
<airlied@linux.ie>
Sun, 15 May 2005 10:19:21 +0000
(10:19 +0000)
committer
Dave Airlie
<airlied@linux.ie>
Sun, 15 May 2005 10:19:21 +0000
(10:19 +0000)
shared-core/drm.h
patch
|
blob
|
history
diff --git
a/shared-core/drm.h
b/shared-core/drm.h
index
e0b6e5e
..
d54a768
100644
(file)
--- a/
shared-core/drm.h
+++ b/
shared-core/drm.h
@@
-63,7
+63,9
@@
#endif
#if defined(__linux__)
+#if defined(__KERNEL__)
#include <linux/config.h>
+#endif
#include <asm/ioctl.h> /* For _IO* macros */
#define DRM_IOCTL_NR(n) _IOC_NR(n)
#define DRM_IOC_VOID _IOC_NONE