summaryrefslogtreecommitdiff
path: root/gopherfs.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-02-11 23:15:15 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-02-11 23:15:15 +0000
commitc9fc3cbc0449b0b67a5e491fe8c492442c120843 (patch)
tree04c3cb4e194f3e507fcd0fefd455f04c518cdc0c /gopherfs.h
parent647c57259146571b78107e5e8bcfc9b6c81bc031 (diff)
Fix build against libpthreadgopherfs/master
* Makefile (HURDLIBS): Add -lshouldbeinlibc * gopherfs.h: Include <pthread.h> instead of <cthreads.h>, use pthread functions instead of cthreads functions.
Diffstat (limited to 'gopherfs.h')
-rw-r--r--gopherfs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gopherfs.h b/gopherfs.h
index 376bec482..8e3921c55 100644
--- a/gopherfs.h
+++ b/gopherfs.h
@@ -22,10 +22,9 @@
#define __GOPHERFS_H__
#include <stdlib.h>
-#include <cthreads.h>
#include <maptime.h>
#include <sys/stat.h>
-/* #include <pthreads.h> */
+#include <pthread.h>
#include <error.h>
#include <netdb.h>