summaryrefslogtreecommitdiff
path: root/devel/linuxthreads/files
diff options
context:
space:
mode:
authorTor Egge <tegge@FreeBSD.org>2002-11-19 16:07:02 +0000
committerTor Egge <tegge@FreeBSD.org>2002-11-19 16:07:02 +0000
commit37cccc341b5e51fb3c04ab4b6bb3cfa7f3440aee (patch)
tree3dcd5c60002039fb267c89547c4a9ac9f1272ec7 /devel/linuxthreads/files
parentUpdate to 0.9.7.2 (diff)
Fix build failure on 5.0-CURRENT by including necessary headers.
Notes
Notes: svn path=/head/; revision=70499
Diffstat (limited to 'devel/linuxthreads/files')
-rw-r--r--devel/linuxthreads/files/patch-aa19
1 files changed, 18 insertions, 1 deletions
diff --git a/devel/linuxthreads/files/patch-aa b/devel/linuxthreads/files/patch-aa
index 5d1135c31321..ecb387fc7983 100644
--- a/devel/linuxthreads/files/patch-aa
+++ b/devel/linuxthreads/files/patch-aa
@@ -564,7 +564,15 @@ diff -ru ../../work/linuxthreads-2.2.3/ptfork.c ./ptfork.c
diff -ru ../../work/linuxthreads-2.2.3/pthread.c ./pthread.c
--- ../../work/linuxthreads-2.2.3/pthread.c Wed Apr 25 21:50:59 2001
+++ ./pthread.c Thu Jun 7 22:59:29 2001
-@@ -21,11 +21,11 @@
+@@ -15,17 +15,19 @@
+
+ /* Thread creation, initialization, and basic low-level routines */
+
++#include <sys/types.h>
++#include <sys/time.h>
+ #include <errno.h>
+ #include <stddef.h>
+ #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
@@ -1133,6 +1141,15 @@ diff -ru ../../work/linuxthreads-2.2.3/sysdeps/unix/sysv/linux/bits/sigthread.h
diff -ru ../../work/linuxthreads-2.2.3/wrapsyscall.c ./wrapsyscall.c
--- ../../work/linuxthreads-2.2.3/wrapsyscall.c Wed Apr 25 21:50:59 2001
+++ ./wrapsyscall.c Thu Jun 7 22:59:29 2001
+@@ -18,6 +18,8 @@
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
++#include <sys/types.h>
++#include <sys/time.h>
+ #include <fcntl.h>
+ #include <sys/mman.h>
+ #include <pthread.h>
@@ -29,6 +29,7 @@
#include <sys/resource.h>
#include <sys/wait.h>