summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-09-22 01:59:31 +0200
committerJulien Cristau <jcristau@debian.org>2008-09-22 02:49:15 +0200
commitab17f88506a2dde32c50ff72b03743cd9c384ecc (patch)
tree749d7261c750d01b0457a5bb7ecdeeda74ac8e70 /dix
parentaf0d5e2ef7b1b3f42e3522568c5f56850823c102 (diff)
Don't use our version of ffs() if the system has one
Diffstat (limited to 'dix')
-rw-r--r--dix/ffs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dix/ffs.c b/dix/ffs.c
index b75657d29..d0bd3e507 100644
--- a/dix/ffs.c
+++ b/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