summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorDavid Dawes <dawes@xfree86.org>2001-03-21 20:22:16 +0000
committerDavid Dawes <dawes@xfree86.org>2001-03-21 20:22:16 +0000
commit301a1ad315bd7881adcf0df33c589e0a74c059f4 (patch)
treeef65e978d870016df445a0b7bfbc92bb127a210b /shared
parent92b0aaa6fe787c2e17bba1973d19d6fd5a61d03a (diff)
Move #include <linux/config.h> inside the __linux__ #ifdef, so that it
doesn't break non-Linux builds.
Diffstat (limited to 'shared')
-rw-r--r--shared/drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/drm.h b/shared/drm.h
index ddabc277..f1abaabf 100644
--- a/shared/drm.h
+++ b/shared/drm.h
@@ -35,8 +35,8 @@
#ifndef _DRM_H_
#define _DRM_H_
-#include <linux/config.h>
#if defined(__linux__)
+#include <linux/config.h>
#include <asm/ioctl.h> /* For _IO* macros */
#define DRM_IOCTL_NR(n) _IOC_NR(n)
#elif defined(__FreeBSD__)