summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--Makefile2
-rw-r--r--config.h1
-rw-r--r--pthread.h7
4 files changed, 14 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index e92e60a..4b3a521 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Sun Aug 2 19:03:42 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
+
+ * config.h: Create. This is a temporary stand-in for autoconf yet
+ to be done.
+ (HAVE_SIGNAL_H): Add.
+
+ * pthread.h: Minor rearrangement for temporary config.h.
+
Fri Jul 31 14:00:29 1998 Ross Johnson <rpj@swan.canberra.edu.au>
* cleanup.c (_pthread_destructor_pop): Implement. Removes
diff --git a/Makefile b/Makefile
index f0f3653..c18458d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-CFLAGS = -I.
+CFLAGS = -I. -DHAVE_CONFIG_H
SRCS = attr.c cancel.c cleanup.c condvar.c create.c dll.c \
exit.c fork.c global.c misc.c mutex.c private.c sched.c \
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..ec94670
--- /dev/null
+++ b/config.h
@@ -0,0 +1 @@
+#define HAVE_SIGNAL_H
diff --git a/pthread.h b/pthread.h
index 17f91b7..bad53a5 100644
--- a/pthread.h
+++ b/pthread.h
@@ -22,13 +22,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef _PTHREADS_H
#define _PTHREADS_H
-#include <windows.h>
-#include <unistd.h>
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */
+#include <windows.h>
+#include <unistd.h>
+#include <time.h>
+
#ifdef HAVE_SIGNAL_H
#include <signal.h>
#endif /* HAVE_SIGNAL_H */