summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Haehnel <marcus.haehnel@kernkonzept.com>2024-03-07 09:28:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-03-07 09:34:00 +0100
commitcd950aac51cb6cb537f04e0f071b7edb83487de6 (patch)
tree89b05a6dc46e846af4b7c0775acdca832a4df1b3
parenta53e19f932194e595025bbdcbc85783e8668ee9c (diff)
libpthread/linuxthreads: add missing string.h include in condvar.c
Quelches a compiler warning by that memset was implicitly declared.
-rw-r--r--libpthread/linuxthreads/condvar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/condvar.c b/libpthread/linuxthreads/condvar.c
index 027aa8fc3..01359ac83 100644
--- a/libpthread/linuxthreads/condvar.c
+++ b/libpthread/linuxthreads/condvar.c
@@ -18,6 +18,7 @@
#include <errno.h>
#include <sched.h>
#include <stddef.h>
+#include <string.h>
#include <sys/time.h>
#include "pthread.h"
#include "internals.h"