summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-12-24 06:28:44 +0200
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-12-24 06:28:52 +0200
commitc1674660a7115ebf993dcde78f4e45f756e4c951 (patch)
treea03deffa07f58567c283ce7ed633ffee35ca7fe9 /os
parent83080809f9a1c1d24b0318e54632f25f5940da25 (diff)
os: test for userland, not kernel
It doesn't matter which kernel we're running on, the relevant part when dealing with includes is what our userland is.
Diffstat (limited to 'os')
-rw-r--r--os/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/utils.c b/os/utils.c
index 82ec70458..b98c9c1fd 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -53,7 +53,7 @@ OR PERFORMANCE OF THIS SOFTWARE.
#include <dix-config.h>
#endif
-#ifndef __linux__
+#ifndef __GLIBC__
#include <time.h>
#else
/* The world's most shocking hack, to ensure we get clock_gettime() and