1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 22:43:50 +01:00

native/freebsd: fix usecond typdef

This commit is contained in:
Ludwig Ortmann 2014-10-08 16:11:15 +02:00
parent 6fba6a7f5a
commit e40f4c1912

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