commit | 4ee4928e55702358648664cb6671b72b3c17be09 | [log] [tgz] |
---|---|---|
author | Branden J. Moore <bjmoor@sandia.gov> | Tue Sep 24 13:02:52 2013 -0600 |
committer | Branden J. Moore <bjmoor@sandia.gov> | Tue Sep 24 13:02:52 2013 -0600 |
tree | 3092a967de339be5994276c7b5f1a3dd1e43d28c | |
parent | ebc071ae3fb53136ba64f2a7ef99ddd1f301b08b [diff] |
pthreads: Add linux/sched.h header for compatibility with Ubuntu and Debian distributions
diff --git a/pthread.c b/pthread.c index d9316da..8310595 100644 --- a/pthread.c +++ b/pthread.c
@@ -27,6 +27,7 @@ #include <signal.h> #include <sys/errno.h> #include <sched.h> +#include <linux/sched.h> #include <sys/mman.h> #include <string.h> #include <malloc.h>