summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/posix/src/pthreadequal.c1
-rw-r--r--cpukit/posix/src/pthreadequal.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/c/src/exec/posix/src/pthreadequal.c b/c/src/exec/posix/src/pthreadequal.c
index 083eda0c9f..3ea32bfd1e 100644
--- a/c/src/exec/posix/src/pthreadequal.c
+++ b/c/src/exec/posix/src/pthreadequal.c
@@ -18,6 +18,7 @@
#include <errno.h>
#include <rtems/system.h>
+#include <rtems/posix/pthread.h>
#include <rtems/score/thread.h>
int pthread_equal(
diff --git a/cpukit/posix/src/pthreadequal.c b/cpukit/posix/src/pthreadequal.c
index 083eda0c9f..3ea32bfd1e 100644
--- a/cpukit/posix/src/pthreadequal.c
+++ b/cpukit/posix/src/pthreadequal.c
@@ -18,6 +18,7 @@
#include <errno.h>
#include <rtems/system.h>
+#include <rtems/posix/pthread.h>
#include <rtems/score/thread.h>
int pthread_equal(