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.
This commit is contained in:
parent
83080809f9
commit
c1674660a7
|
@ -53,7 +53,7 @@ OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
#include <dix-config.h>
|
#include <dix-config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __linux__
|
#ifndef __GLIBC__
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#else
|
#else
|
||||||
/* The world's most shocking hack, to ensure we get clock_gettime() and
|
/* The world's most shocking hack, to ensure we get clock_gettime() and
|
||||||
|
|
Loading…
Reference in New Issue
Block a user