Fixed ukfs build on non-NetBSD system.
This commit is contained in:
parent
5074dd48b8
commit
f3ec34d58f
@ -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.
|
||||
@ -52,8 +52,11 @@ typedef struct kauth_cred *kauth_cred_t;
|
||||
#if defined(__NetBSD__)
|
||||
#include <prop/proplib.h>
|
||||
#else
|
||||
#ifndef HAVE_PROP_DICTIONARY_T
|
||||
#define HAVE_PROP_DICTIONARY_T
|
||||
struct prop_dictionary;
|
||||
typedef struct prop_dictionary *prop_dictionary_t;
|
||||
#endif
|
||||
#endif /* __NetBSD__ */
|
||||
|
||||
struct lwp;
|
||||
|
@ -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.
|
||||
@ -191,8 +191,11 @@ int rumpuser_net_setsockopt(int, int, int, const void *, int, int *);
|
||||
#ifdef __NetBSD__
|
||||
#include <prop/proplib.h>
|
||||
#else
|
||||
#ifndef HAVE_PROP_DICTIONARY_T
|
||||
#define HAVE_PROP_DICTIONARY_T
|
||||
typedef struct prop_dictionary *prop_dictionary_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
struct modinfo;
|
||||
typedef int (*rump_modinit_fn)(struct modinfo *, prop_dictionary_t);
|
||||
|
Loading…
Reference in New Issue
Block a user