Commit d2b7ee62 authored by Committed by Colin Walters
Make the `include' glib test case build on FreeBSD.
Defining _POSIX_C_SOURCE to 0 will make time.h not create the clockid_t typedef used by some functions in pthread.h. The right approach here is to set it to 199309L, which creates the typedef on FreeBSD and doesn't set __USE_UNIX98 or __USE_XOPEN2K on glibc, which is what the test is actually testing. https://bugzilla.gnome.org/show_bug.cgi?id=672406
Showing with 1 addition and 1 deletion