Fixed ukfs build on non-NetBSD system.

This commit is contained in:
stacktic 2009-12-23 17:17:59 +00:00
parent 5074dd48b8
commit f3ec34d58f
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rump.h,v 1.34 2009/12/09 00:23:28 haad Exp $ */ /* $NetBSD: rump.h,v 1.35 2009/12/23 17:17:59 stacktic Exp $ */
/* /*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved. * Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@ -52,8 +52,11 @@ typedef struct kauth_cred *kauth_cred_t;
#if defined(__NetBSD__) #if defined(__NetBSD__)
#include <prop/proplib.h> #include <prop/proplib.h>
#else #else
#ifndef HAVE_PROP_DICTIONARY_T
#define HAVE_PROP_DICTIONARY_T
struct prop_dictionary; struct prop_dictionary;
typedef struct prop_dictionary *prop_dictionary_t; typedef struct prop_dictionary *prop_dictionary_t;
#endif
#endif /* __NetBSD__ */ #endif /* __NetBSD__ */
struct lwp; struct lwp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: rumpuser.h,v 1.34 2009/11/26 09:50:38 pooka Exp $ */ /* $NetBSD: rumpuser.h,v 1.35 2009/12/23 17:17:59 stacktic Exp $ */
/* /*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved. * Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@ -191,8 +191,11 @@ int rumpuser_net_setsockopt(int, int, int, const void *, int, int *);
#ifdef __NetBSD__ #ifdef __NetBSD__
#include <prop/proplib.h> #include <prop/proplib.h>
#else #else
#ifndef HAVE_PROP_DICTIONARY_T
#define HAVE_PROP_DICTIONARY_T
typedef struct prop_dictionary *prop_dictionary_t; typedef struct prop_dictionary *prop_dictionary_t;
#endif #endif
#endif
struct modinfo; struct modinfo;
typedef int (*rump_modinit_fn)(struct modinfo *, prop_dictionary_t); typedef int (*rump_modinit_fn)(struct modinfo *, prop_dictionary_t);