freebsd-ports/net/coda6_server/files/patch-pioctl.h
Sergey Matveychuk 0036fd14a8 - Update to 6.0.7
PR:		ports/74258, ports/74259
Submitted by:	Radim Kolar <hsn(at)netmag.cz>
Approved by:	maintainer (timeout: 1+ month)
2004-12-29 17:36:19 +00:00

11 lines
382 B
C

--- coda-src/kerndep/pioctl.h.orig Thu Aug 26 17:23:04 2004
+++ coda-src/kerndep/pioctl.h Tue Nov 16 22:04:33 2004
@@ -104,7 +104,7 @@
/* unpacking macros */
#ifndef _IOC_NR
-#if defined(__CYGWIN32__) || defined(__NetBSD__)
+#if defined(__CYGWIN32__) || defined(__NetBSD__) || defined(__FreeBSD__)
#define _IOC_TYPEMASK 0xff
#define _IOC_TYPESHIFT 8
#define _IOC_NRMASK 0xff