From 37e9221a5d1905cba45c96ac44dbe26d947bc4af Mon Sep 17 00:00:00 2001 From: charles forsyth Date: Sun, 18 May 2014 14:19:01 +0100 Subject: 20140518-1419 --- emu/Linux/os.c | 1 - emu/port/fns.h | 1 + emu/port/kproc-pthreads.c | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) (limited to 'emu') 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 #include 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 #include +#define __USE_GNU #include #include #include -- cgit v1.2.3