aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libc.h1
-rw-r--r--include/u.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/libc.h b/include/libc.h
index 1db39606..87b6bfd0 100644
--- a/include/libc.h
+++ b/include/libc.h
@@ -454,6 +454,7 @@ struct _Procrend
int asleep;
Lock *l;
void *arg;
+ int pid;
#ifdef PLAN9_PTHREADS
pthread_cond_t cond;
#endif
diff --git a/include/u.h b/include/u.h
index 0cd8e397..8e79ba6e 100644
--- a/include/u.h
+++ b/include/u.h
@@ -24,6 +24,7 @@ extern "C" {
#include <fmt.h>
#include <math.h>
#include <ctype.h> /* for tolower */
+#include <pthread.h> /* for Locks */
/*
* OS-specific crap