openbsd-ports/x11/gnustep/base/patches/patch-Source_NSTask_m
ajacoutot c31a5555f1 Import gnustep-base-1.14.0
The GNUstep Base Library is a library of general-purpose, non-graphical
Objective C objects.  For example, it includes classes for strings,
object collections, byte streams, typed coders, invocations,
notifications, notification dispatchers, moments in time, network ports,
remote object messaging support (distributed objects), and event loops.
It provides functionality that aims to implement the non-graphical
portion of the OpenStep standard (the Foundation library).
2007-05-29 03:01:35 +00:00

13 lines
344 B
Plaintext

$OpenBSD: patch-Source_NSTask_m,v 1.1.1.1 2007/05/29 03:01:35 ajacoutot Exp $
--- Source/NSTask.m.orig Mon May 28 17:24:30 2007
+++ Source/NSTask.m Mon May 28 17:25:19 2007
@@ -54,7 +54,7 @@
#include <unistd.h>
#endif
#include <sys/types.h>
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
#include <fcntl.h>
#endif