summaryrefslogtreecommitdiff
path: root/src/smi.h
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2015-09-14 18:36:32 +0200
committerThomas Klausner <wiz@NetBSD.org>2015-09-30 23:44:05 +0200
commit647e5a93d9387e3bc8d2c8569e3a5f996acfb169 (patch)
tree75f071b040da1725aa0fd862fc06ad0d6e1816aa /src/smi.h
parenta4e406c20ab0590214f779c2319ac7b92594a606 (diff)
Use X11/Xarch.h for endian detection.
Reviewed-by: Connor Behan <connor.behan@gmail.com>
Diffstat (limited to 'src/smi.h')
-rw-r--r--src/smi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/smi.h b/src/smi.h
index 5e44892..2742c8d 100644
--- a/src/smi.h
+++ b/src/smi.h
@@ -34,6 +34,7 @@ authorization from the XFree86 Project and Silicon Motion.
#include <string.h>
#include <stdio.h>
+#include <X11/Xarch.h>
#include "xf86.h"
#include "xf86_OSproc.h"