diff options
Diffstat (limited to 'plpnfsd/mp_main.c')
-rw-r--r-- | plpnfsd/mp_main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plpnfsd/mp_main.c b/plpnfsd/mp_main.c index 23623c6..3c3cab9 100644 --- a/plpnfsd/mp_main.c +++ b/plpnfsd/mp_main.c @@ -46,7 +46,8 @@ fattr root_fattr = {0, 0} }; -#if defined(hpux) || defined(__SVR4) || defined(__sgi) +#if defined(hpux) || defined(__SVR4) || defined(__sgi) +#ifndef sun void usleep(usec) int usec; @@ -57,7 +58,7 @@ int usec; t.tv_usec = (long) (usec % 1000000); select(0, (fd_set *) 0, (fd_set *) 0, (fd_set *) 0, &t); } - +#endif #endif /* hpux */ int |