summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/unix/cpu.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-24 20:53:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-24 20:53:48 +0000
commitddf142da51abc83911b39696f70a42e2a20ac9cc (patch)
treebae643bb086ac20293da8980e2ea9f9b3a5384f0 /cpukit/score/cpu/unix/cpu.c
parentchanged version to 4.0.0-beta1 (diff)
downloadrtems-ddf142da51abc83911b39696f70a42e2a20ac9cc.tar.bz2
Added _XOPEN_SOURCE definition to allow use of UNIX IPC.
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/unix/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/cpu/unix/cpu.c b/cpukit/score/cpu/unix/cpu.c
index 428ae99c3b..a8fa6bb4d3 100644
--- a/cpukit/score/cpu/unix/cpu.c
+++ b/cpukit/score/cpu/unix/cpu.c
@@ -15,6 +15,7 @@
#include <rtems/score/interr.h>
#if defined(__linux__)
+#define _XOPEN_SOURCE
#define MALLOC_0_RETURNS_NULL
#endif