From 94f241e2143090f4ea74b4a68cbb2bec54c5f229 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 24 Apr 2014 14:25:23 +0200 Subject: [PATCH] Only work around glibc bugs on glibc --- utils/mountd/svc_run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/mountd/svc_run.c b/utils/mountd/svc_run.c index 1938a67..a572441 100644 --- a/utils/mountd/svc_run.c +++ b/utils/mountd/svc_run.c @@ -60,7 +60,7 @@ void cache_set_fds(fd_set *fdset); int cache_process_req(fd_set *readfds); -#if LONG_MAX != INT_MAX +#if defined(__GLIBC__) && LONG_MAX != INT_MAX /* bug in glibc 2.3.6 and earlier, we need * our own svc_getreqset */ -- 1.9.2