From: Andrew Deason Date: Wed, 13 Apr 2011 15:11:59 +0000 (-0500) Subject: RX: Include sys/file.h for rx_lwp.c X-Git-Tag: upstream/1.8.0_pre1^2~3865 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=8180f9abbfc79731e1557dbd78b26ecba81611d7;p=packages%2Fo%2Fopenafs.git RX: Include sys/file.h for rx_lwp.c rx_lwp.c uses FNDELAY, which requires sys/file.h on at least Solaris. So, include it. Change-Id: Ida652a3c9bfccb120a67f0c5d4f71537a11fa00f Reviewed-on: http://gerrit.openafs.org/4466 Tested-by: BuildBot Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear --- diff --git a/src/rx/rx_lwp.c b/src/rx/rx_lwp.c index 1de085731..aa1c5bbc3 100644 --- a/src/rx/rx_lwp.c +++ b/src/rx/rx_lwp.c @@ -23,6 +23,10 @@ #include +#ifdef HAVE_SYS_FILE_H +# include +#endif + #include #include "rx.h"