--- openafs-1.6.5.orig/src/lwp/iomgr.c	2013-07-18 00:10:42.000000000 +0200
+++ openafs-1.6.5/src/lwp/iomgr.c	2013-09-10 19:18:44.346172788 +0200
@@ -57,9 +57,7 @@ extern void lwp_abort(void);
 #include "timer.h"
 #include <signal.h>
 #include <errno.h>
-#ifdef AFS_SUN5_ENV
 #include <fcntl.h>
-#endif
 
 #if	defined(USE_PTHREADS) || defined(USE_SOLARIS_THREADS)
 
