diff options
| author | charles forsyth <charles.forsyth@gmail.com> | 2014-05-18 14:19:01 +0100 |
|---|---|---|
| committer | charles forsyth <charles.forsyth@gmail.com> | 2014-05-18 14:19:01 +0100 |
| commit | 37e9221a5d1905cba45c96ac44dbe26d947bc4af (patch) | |
| tree | 87bf6a76dc94bc638418883e0ca21afcfa2ad78f /emu | |
| parent | 7e479951464b9bb71e87aeef19d908e9fb9be494 (diff) | |
20140518-1419
Diffstat (limited to 'emu')
| -rw-r--r-- | emu/Linux/os.c | 1 | ||||
| -rw-r--r-- | emu/port/fns.h | 1 | ||||
| -rw-r--r-- | emu/port/kproc-pthreads.c | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/emu/Linux/os.c b/emu/Linux/os.c index 0d91518a..08b039d6 100644 --- a/emu/Linux/os.c +++ b/emu/Linux/os.c @@ -13,7 +13,6 @@ #include "dat.h" #include "fns.h" #include "error.h" -#include <fpuctl.h> #include <semaphore.h> diff --git a/emu/port/fns.h b/emu/port/fns.h index be825d17..db08957d 100644 --- a/emu/port/fns.h +++ b/emu/port/fns.h @@ -119,6 +119,7 @@ Pgrp* newpgrp(void); Proc* newproc(void); void nexterror(void); void notkilled(void); +int nrand(int); int openmode(ulong); void osblock(void); void* oscmd(char**, int, char*, int*); diff --git a/emu/port/kproc-pthreads.c b/emu/port/kproc-pthreads.c index 32053794..5560f737 100644 --- a/emu/port/kproc-pthreads.c +++ b/emu/port/kproc-pthreads.c @@ -7,6 +7,7 @@ #include <unistd.h> #include <signal.h> +#define __USE_GNU #include <pthread.h> #include <limits.h> #include <errno.h> |
