From 3f82edbeb9251149c6aff071d6537379af4e5eea Mon Sep 17 00:00:00 2001 From: Svante Signell Date: Tue, 21 Oct 2014 01:53:37 -0500 Subject: Fix GNU/kFreeBSD port Check for __FreeBSD_kernel instead of __GLIBC__ in source files. note from William Hubbs: I was told this is a better check for GNU/kFreeBSD than checking the C library the source is being compiled against. GNU/kFreeBSD than checking which library we are using. --- src/rc/runscript.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rc/runscript.c') diff --git a/src/rc/runscript.c b/src/rc/runscript.c index de18f90a..96aa683d 100644 --- a/src/rc/runscript.c +++ b/src/rc/runscript.c @@ -51,7 +51,7 @@ #include #include -#if defined(__linux__) || defined(__GLIBC__) +#if defined(__linux__) || defined(__FreeBSD_kernel__) # include #elif defined(__NetBSD__) || defined(__OpenBSD__) # include -- cgit v1.2.3