diff options
Diffstat (limited to 'sys/i4b')
-rw-r--r-- | sys/i4b/layer2/i4b_tei.c | 5 | ||||
-rw-r--r-- | sys/i4b/layer4/i4b_l4mgmt.c | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/i4b/layer2/i4b_tei.c b/sys/i4b/layer2/i4b_tei.c index fd813c8..98f9b00 100644 --- a/sys/i4b/layer2/i4b_tei.c +++ b/sys/i4b/layer2/i4b_tei.c @@ -46,6 +46,7 @@ #if defined(__FreeBSD__) #include <sys/ioccom.h> +#include <sys/random.h> #else #include <sys/ioctl.h> #endif @@ -65,10 +66,6 @@ #include <i4b/i4b_ioctl.h> #endif -#if defined(__FreeBSD__) -#include <machine/random.h> -#endif - #include <i4b/include/i4b_global.h> #include <i4b/include/i4b_l1l2.h> #include <i4b/include/i4b_l2l3.h> diff --git a/sys/i4b/layer4/i4b_l4mgmt.c b/sys/i4b/layer4/i4b_l4mgmt.c index 064a1f0..cde2451 100644 --- a/sys/i4b/layer4/i4b_l4mgmt.c +++ b/sys/i4b/layer4/i4b_l4mgmt.c @@ -43,6 +43,7 @@ #if defined(__FreeBSD__) #include <sys/ioccom.h> +#include <sys/random.h> #else #include <sys/ioctl.h> #endif @@ -54,10 +55,6 @@ #include <net/if.h> #ifdef __FreeBSD__ -#include <machine/random.h> -#endif - -#ifdef __FreeBSD__ #include <machine/i4b_debug.h> #include <machine/i4b_ioctl.h> #else |