summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/drivers/ati/r128_reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/programs/Xserver/hw/xfree86/drivers/ati/r128_reg.h')
-rw-r--r--xc/programs/Xserver/hw/xfree86/drivers/ati/r128_reg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/drivers/ati/r128_reg.h b/xc/programs/Xserver/hw/xfree86/drivers/ati/r128_reg.h
index ac461d0d0..d99e40283 100644
--- a/xc/programs/Xserver/hw/xfree86/drivers/ati/r128_reg.h
+++ b/xc/programs/Xserver/hw/xfree86/drivers/ati/r128_reg.h
@@ -48,7 +48,9 @@
#ifndef _R128_REG_H_
#define _R128_REG_H_
+#ifdef XFree86Module
#include "xf86_ansic.h"
+#endif
#include "compiler.h"
/* Memory mapped register access macros */