aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dix/ffs.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/dix/ffs.c')
-rw-r--r--xorg-server/dix/ffs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg-server/dix/ffs.c b/xorg-server/dix/ffs.c
index b75657d29..d0bd3e507 100644
--- a/xorg-server/dix/ffs.c
+++ b/xorg-server/dix/ffs.c
@@ -30,6 +30,8 @@ The Open Group.
#include <dix-config.h>
#endif
+#ifndef HAVE_FFS
+
#include "dix.h"
int
@@ -42,3 +44,5 @@ ffs(int i)
i >>= 1;
return j;
}
+
+#endif