tweaks for OpenBSD

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32766 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-04-03 09:54:57 +00:00
parent 267fc9c251
commit 899590c40c
4 changed files with 14 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2011-04-03 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Source/GNUmakefile:
* Source/NSObject.m:
* Source/NSTask.m:
Tweaks for OpenBSD build
2011-04-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/unix/GSRunLoopCtxt.m:

View file

@ -100,7 +100,7 @@ GSLocale.m \
preface.m
ifeq ($(findstring openbsd, $(GNUSTEP_TARGET_OS)), openbsd)
OBJC_LIBS += -lpthread
OBJC_LIBS += -pthread
endif
ifeq ($(GNUSTEP_TARGET_OS), mingw32)

View file

@ -57,9 +57,12 @@
#ifdef HAVE_SYS_SIGNAL_H
#include <sys/signal.h>
#endif
#ifdef __FreeBSD__
#if __GNUC__ >= 4
#if defined(__FreeBSD__)
#include <fenv.h>
#endif
#endif // __GNUC__
#define IN_NSOBJECT_M 1
#import "GSPrivate.h"

View file

@ -53,10 +53,11 @@
#include <unistd.h>
#endif
#include <sys/types.h>
#ifdef __FreeBSD__
#if defined(__FreeBSD__) || defined(__OpenBSD__)
#include <fcntl.h>
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif