diff options
Diffstat (limited to 'libnetfs/make-peropen.c')
-rw-r--r-- | libnetfs/make-peropen.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libnetfs/make-peropen.c b/libnetfs/make-peropen.c index 9f7e1195..961a77d1 100644 --- a/libnetfs/make-peropen.c +++ b/libnetfs/make-peropen.c @@ -18,6 +18,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ +#include "netfs.h" +#include <sys/file.h> + struct peropen * netfs_make_peropen (struct node *np, int flags, mach_port_t dotdotport) { @@ -32,7 +35,7 @@ netfs_make_peropen (struct node *np, int flags, mach_port_t dotdotport) if (dotdotport != MACH_PORT_NULL) mach_port_mod_refs (mach_task_self (), dotdotport, MACH_PORT_RIGHT_SEND, 1); - diskfs_nref (np); + netfs_nref (np); return po; } |