--- openafs-1.6.5.orig/src/sys/glue.c	2013-07-18 00:10:42.000000000 +0200
+++ openafs-1.6.5/src/sys/glue.c	2013-09-15 14:36:10.940304169 +0200
@@ -20,9 +20,7 @@
 #include <sys/ioctl.h>
 #include <unistd.h>
 #include <stdio.h>
-#ifdef AFS_SUN5_ENV
 #include <fcntl.h>
-#endif
 #include "afssyscalls.h"
 
 #ifdef AFS_LINUX20_ENV
