summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-11-26 05:23:49 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-11-26 05:23:49 +0000
commite0694a8f6eaadaac6196afbee0982a266f4e2927 (patch)
tree9f78c058d51c0ccbb785840e735b66d20af679bc /src
parent09fdf9af74b5afc841b3ed4dc7708fae54c92126 (diff)
Added support for the <pthreads.h> header.
Diffstat (limited to 'src')
-rw-r--r--src/tinyproxy.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tinyproxy.h b/src/tinyproxy.h
index 18a115f..61a00a7 100644
--- a/src/tinyproxy.h
+++ b/src/tinyproxy.h
@@ -1,4 +1,4 @@
-/* $Id: tinyproxy.h,v 1.22 2001-11-26 01:39:53 rjkaes Exp $
+/* $Id: tinyproxy.h,v 1.23 2001-11-26 05:23:49 rjkaes Exp $
*
* See 'tinyproxy.c' for a detailed description.
*
@@ -113,6 +113,10 @@
#endif
#ifdef HAVE_PTHREAD_H
# include <pthread.h>
+#else
+# ifdef HAVE_PTHREADS_H
+# include <pthreads.h>
+# endif
#endif
#ifdef HAVE_PWD_H
# include <pwd.h>