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:
Daniel Stone 2006-12-24 06:28:44 +02:00 committed by Daniel Stone
parent 83080809f9
commit c1674660a7

View File

@ -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