summaryrefslogtreecommitdiff
path: root/emu
diff options
context:
space:
mode:
authorCharles Forsyth <charles.forsyth@gmail.com>2014-05-18 15:32:02 +0100
committerCharles Forsyth <charles.forsyth@gmail.com>2014-05-18 15:32:02 +0100
commitfc85c874b585778fe2eae90ab562103b7c8a7b6f (patch)
tree7968ae368c80e4840742922be86b0094e1135906 /emu
parent1593ea8eb6909c227f2f9c244c279e5bbd29c87a (diff)
revert to 626 to undo unintended push
Diffstat (limited to 'emu')
-rw-r--r--emu/Linux/os.c1
-rw-r--r--emu/port/fns.h1
-rw-r--r--emu/port/kproc-pthreads.c1
3 files changed, 1 insertions, 2 deletions
diff --git a/emu/Linux/os.c b/emu/Linux/os.c
index 08b039d6..0d91518a 100644
--- a/emu/Linux/os.c
+++ b/emu/Linux/os.c
@@ -13,6 +13,7 @@
#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 db08957d..be825d17 100644
--- a/emu/port/fns.h
+++ b/emu/port/fns.h
@@ -119,7 +119,6 @@ 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 5560f737..32053794 100644
--- a/emu/port/kproc-pthreads.c
+++ b/emu/port/kproc-pthreads.c
@@ -7,7 +7,6 @@
#include <unistd.h>
#include <signal.h>
-#define __USE_GNU
#include <pthread.h>
#include <limits.h>
#include <errno.h>