1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #1780 from LudwigOrtmann/native-freebsd-fixup

sys/posix: FreeBSD fixup
This commit is contained in:
Thomas Eichinger 2014-10-09 10:48:59 +02:00
commit 3b56b6bf07
2 changed files with 3 additions and 1 deletions

0
cpu/native/tapsetup-freebsd.sh Normal file → Executable file
View File

View File

@ -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;
/**