diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-12 05:13:56 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-09-15 13:56:57 -0400 |
commit | c09c44f6110fb2c1ad5e5c0fe91f2dc34ec14b73 (patch) | |
tree | 0396ecc8960f5d54340caaefc9a33cb619773bb8 | |
parent | 20b6f6ba12755632bb639a40e030b79b65b78549 (diff) | |
download | nfs-utils-c09c44f6110fb2c1ad5e5c0fe91f2dc34ec14b73.tar.gz nfs-utils-c09c44f6110fb2c1ad5e5c0fe91f2dc34ec14b73.tar.xz nfs-utils-c09c44f6110fb2c1ad5e5c0fe91f2dc34ec14b73.zip |
mountd: Only work around glibc bugs on glibc
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | utils/mountd/svc_run.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |