summaryrefslogtreecommitdiff
path: root/linux
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 /linux
parent92b0aaa6fe787c2e17bba1973d19d6fd5a61d03a (diff)
Move #include <linux/config.h> inside the __linux__ #ifdef, so that it
doesn't break non-Linux builds.
Diffstat (limited to 'linux')
-rw-r--r--linux/drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drm.h b/linux/drm.h
index ddabc277..f1abaabf 100644
--- a/linux/drm.h
+++ b/linux/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__)