mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 01:51:00 +03:00
Stub out some missing headers which are expected. I'll fill
in what the contents need to be as I encounter the warnings about missing prototypes, symbols, and such. git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@21 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
This commit is contained in:
parent
d5f087adef
commit
dbb484ec60
6
include/rpc/types.h
Normal file
6
include/rpc/types.h
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef _SPL_RPC_TYPES_H
|
||||
#define _SPL_RPC_TYPES_H
|
||||
|
||||
#include <linux/sunrpc/types.h>
|
||||
|
||||
#endif /* SPL_RPC_TYPES_H */
|
6
include/rpc/xdr.h
Normal file
6
include/rpc/xdr.h
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef _SPL_RPC_XDR_H
|
||||
#define _SPL_RPC_XDR_H
|
||||
|
||||
#include <linux/sunrpc/xdr.h>
|
||||
|
||||
#endif /* SPL_RPC_XDR_H */
|
4
include/sys/errno.h
Normal file
4
include/sys/errno.h
Normal file
@ -0,0 +1,4 @@
|
||||
#ifndef _SPL_ERRNO_H
|
||||
#define _SPL_ERRNO_H
|
||||
|
||||
#endif /* SPL_ERRNO_H */
|
4
include/sys/int_limits.h
Normal file
4
include/sys/int_limits.h
Normal file
@ -0,0 +1,4 @@
|
||||
#ifndef _SPL_INT_LIMITS_H
|
||||
#define _SPL_INT_LIMITS_H
|
||||
|
||||
#endif /* SPL_INT_LIMITS_H */
|
4
include/sys/isa_defs.h
Normal file
4
include/sys/isa_defs.h
Normal file
@ -0,0 +1,4 @@
|
||||
#ifndef _SPL_ISA_DEFS_H
|
||||
#define _SPL_ISA_DEFS_H
|
||||
|
||||
#endif /* SPL_ISA_DEFS_H */
|
4
include/sys/stropts.h
Normal file
4
include/sys/stropts.h
Normal file
@ -0,0 +1,4 @@
|
||||
#ifndef _SPL_STROPTS_H
|
||||
#define _SPL_STROPTS_H
|
||||
|
||||
#endif /* SPL_STROPTS_H */
|
@ -15,8 +15,6 @@ extern "C" {
|
||||
#include <sys/types.h>
|
||||
|
||||
extern unsigned long long monotonic_clock(void);
|
||||
typedef struct timespec timestruc_t; /* definition per SVr4 */
|
||||
typedef longlong_t hrtime_t;
|
||||
|
||||
#define TIME32_MAX INT32_MAX
|
||||
#define TIME32_MIN INT32_MIN
|
||||
|
@ -5,6 +5,9 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <sys/generic.h>
|
||||
|
||||
typedef enum { B_FALSE=0, B_TRUE=1 } boolean_t;
|
||||
typedef unsigned long uintptr_t;
|
||||
typedef unsigned long intptr_t;
|
||||
@ -19,6 +22,8 @@ typedef long long offset_t;
|
||||
typedef struct task_struct kthread_t;
|
||||
typedef struct vmem { } vmem_t;
|
||||
typedef short pri_t;
|
||||
typedef struct timespec timestruc_t; /* definition per SVr4 */
|
||||
typedef longlong_t hrtime_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
4
include/sys/va_list.h
Normal file
4
include/sys/va_list.h
Normal file
@ -0,0 +1,4 @@
|
||||
#ifndef _SPL_VA_LIST_H
|
||||
#define _SPL_VA_LIST_H
|
||||
|
||||
#endif /* SPL_VA_LIST_H */
|
4
include/sys/varargs.h
Normal file
4
include/sys/varargs.h
Normal file
@ -0,0 +1,4 @@
|
||||
#ifndef _SPL_VARARGS_H
|
||||
#define _SPL_VARARGS_H
|
||||
|
||||
#endif /* SPL_VARARGS_H */
|
Loading…
Reference in New Issue
Block a user