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:
commit
3b56b6bf07
0
cpu/native/tapsetup-freebsd.sh
Normal file → Executable file
0
cpu/native/tapsetup-freebsd.sh
Normal file → Executable 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;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user