summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-12-05 12:00:08 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-12-05 12:01:31 -0800
commit027ff97a1354ab4c83fecb615f6bc2a6b739b871 (patch)
treecc999942b685cbbf3f8f85f83d3c10a5fc961375
parent466b0fca9ba5d5e7fb36e47a6d1bd60218f51c75 (diff)
Make sure _X_EXPORT is defined in edid.h
Fixes build error in xf86-video-intel utilities
-rw-r--r--hw/xfree86/ddc/edid.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/xfree86/ddc/edid.h b/hw/xfree86/ddc/edid.h
index aeda6b30c..31bc7c12a 100644
--- a/hw/xfree86/ddc/edid.h
+++ b/hw/xfree86/ddc/edid.h
@@ -12,6 +12,10 @@
#ifndef _EDID_H_
#define _EDID_H_
+#ifndef _X_EXPORT
+# include <X11/Xfuncproto.h>
+#endif
+
/* read complete EDID record */
#define EDID1_LEN 128
#define BITS_PER_BYTE 9