sun-iow-includes-20060802
authorRuss Allbery <rra@stanford.edu>
Thu, 3 Aug 2006 02:51:41 +0000 (02:51 +0000)
committerRuss Allbery <rra@stanford.edu>
Thu, 3 Aug 2006 02:51:41 +0000 (02:51 +0000)
Solaris needs <sys/ioccom.h> for _IOW.

src/util/vice.h

index dc85530..bcff6d8 100644 (file)
@@ -12,6 +12,9 @@
 
 #include <sys/types.h>
 #include <sys/ioctl.h>
+#if defined(__sun) && defined(__SVR4)
+# include <sys/ioccom.h>
+#endif
 
 /*
  * Structures used to pass data into AFS ioctls.  The buffer pointers may be