summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/types.c')
-rw-r--r--cpukit/posix/src/types.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/posix/src/types.c b/cpukit/posix/src/types.c
index 194840305f..c1e1c8c708 100644
--- a/cpukit/posix/src/types.c
+++ b/cpukit/posix/src/types.c
@@ -5,6 +5,7 @@
#include <sys/types.h>
#include <rtems/system.h>
+#include <rtems/score/object.h>
/*PAGE
*
@@ -13,7 +14,7 @@
pid_t getpid( void )
{
- return POSIX_NOT_IMPLEMENTED();
+ return _Objects_Local_node;
}
/*PAGE