diff --git a/src/libs/compat/freebsd11_network/compat/sys/_callout.h b/src/libs/compat/freebsd11_network/compat/sys/_callout.h new file mode 100644 index 0000000000..b7270d7350 --- /dev/null +++ b/src/libs/compat/freebsd11_network/compat/sys/_callout.h @@ -0,0 +1,26 @@ +/* + * Copyright 2018, Haiku, Inc. All rights reserved. + * Distributed under the terms of the MIT License. + */ +#ifndef _FBSD_COMPAT_SYS__CALLOUT_H_ +#define _FBSD_COMPAT_SYS__CALLOUT_H_ + + +#include +#include +#include + + +struct callout { + struct list_link link; + bigtime_t due; + uint32 flags; + + void * c_arg; + void (*c_func)(void *); + struct mtx * c_mtx; + int c_flags; +}; + + +#endif /* _FBSD_COMPAT_SYS__CALLOUT_H_ */ diff --git a/src/libs/compat/freebsd11_network/compat/sys/callout.h b/src/libs/compat/freebsd11_network/compat/sys/callout.h index 74a337b5b2..5734ece8f3 100644 --- a/src/libs/compat/freebsd11_network/compat/sys/callout.h +++ b/src/libs/compat/freebsd11_network/compat/sys/callout.h @@ -9,22 +9,7 @@ #include - -#include - -#include - - -struct callout { - struct list_link link; - bigtime_t due; - uint32 flags; - - void * c_arg; - void (*c_func)(void *); - struct mtx * c_mtx; - int c_flags; -}; +#include #define CALLOUT_MPSAFE 0x0008 /* deprecated */