1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-29 08:21:18 +01:00

Merge pull request #1496 from LudwigOrtmann/osx-fixup

native: reenable compilation on osx
This commit is contained in:
Ludwig Ortmann 2014-07-31 07:32:07 +02:00
commit b8aa5dbaf8
2 changed files with 6 additions and 2 deletions

View File

@ -149,7 +149,7 @@ void _native_handle_tap_input(void)
}
#ifdef __MACH__
void sigio_child()
void sigio_child(void)
{
pid_t parent = _native_pid;

View File

@ -52,9 +52,13 @@
int close(int fildes);
#ifndef __USECONDS_T_TYPE
#ifndef __MACH__
typedef unsigned long __USECONDS_T_TYPE;
#endif
typedef __USECONDS_T_TYPE __useconds_t;
#else
typedef __darwin_useconds_t __useconds_t;
#endif
#endif
typedef __useconds_t useconds_t;
/**