diff --git a/cpu/native/tapsetup-freebsd.sh b/cpu/native/tapsetup-freebsd.sh old mode 100644 new mode 100755 diff --git a/sys/posix/include/unistd.h b/sys/posix/include/unistd.h index 9e0d385496..85f8d663b1 100644 --- a/sys/posix/include/unistd.h +++ b/sys/posix/include/unistd.h @@ -52,13 +52,15 @@ int close(int fildes); #ifndef __USECONDS_T_TYPE -#ifndef __MACH__ +#if !(defined(__MACH__) || defined(__FreeBSD__)) typedef unsigned long __USECONDS_T_TYPE; typedef __USECONDS_T_TYPE __useconds_t; #else +#ifdef __MACH__ typedef __darwin_useconds_t __useconds_t; #endif #endif +#endif typedef __useconds_t useconds_t; /**