about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--linuxthreads/ChangeLog3
-rw-r--r--linuxthreads/Examples/ex13.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 72674f878b..2fce6eb467 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,6 +1,7 @@
 2000-08-24  Andreas Jaeger  <aj@suse.de>
 
-	* Examples/ex13.c: Include <string.h> for for strerror prototype.
+	* Examples/ex13.c: Include <string.h> for strerror prototype and
+	<stdlib.h> for abort prototype.
 	(pthr_cond_signal_mutex): Rewrite to silence GCC.
 	(thread_start): Remove unused variable err.
 	(main): Silence GCC warnings.
diff --git a/linuxthreads/Examples/ex13.c b/linuxthreads/Examples/ex13.c
index f50a96e7d9..3a0347993a 100644
--- a/linuxthreads/Examples/ex13.c
+++ b/linuxthreads/Examples/ex13.c
@@ -21,6 +21,7 @@
 #include <errno.h>
 #include <pthread.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <unistd.h>