summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/drm.h2
-rw-r--r--shared-core/drm.h2
-rw-r--r--shared/drm.h2
3 files changed, 3 insertions, 3 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__)
diff --git a/shared-core/drm.h b/shared-core/drm.h
index ddabc277..f1abaabf 100644
--- a/shared-core/drm.h
+++ b/shared-core/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__)
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__)