summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2009-10-12 14:52:01 +0200
committerMatthias Hopf <mhopf@suse.de>2009-10-12 15:02:35 +0200
commit34d975dbbeca76748e08a54ab724f176c7e1cf8e (patch)
tree766279773d08c7a6f9080fd5e54fbdc94c025f26
parent42a81085042606cd812732a13b66527d37fc625c (diff)
Fix compilation with xf86_ansic.h
-rw-r--r--src/rhd_acpi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rhd_acpi.c b/src/rhd_acpi.c
index 3831925..78751e5 100644
--- a/src/rhd_acpi.c
+++ b/src/rhd_acpi.c
@@ -28,6 +28,7 @@
#if HAVE_XF86_ANSIC_H
# include "xf86_ansic.h"
+# define dirent _xf86dirent
#else
# include <unistd.h>
# include <sys/types.h>