Fix build in -CURRENT

Submitted by:	Frode Nordahl <frode@nordahl.net>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-11-14 17:21:56 +00:00
parent d7a534a211
commit 778a32b7d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70121
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,10 @@
--- libs/ext/cothreads/cothreads/cothreads.c.orig Thu Nov 14 15:19:11 2002
+++ libs/ext/cothreads/cothreads/cothreads.c Thu Nov 14 15:20:02 2002
@@ -21,6 +21,7 @@
#include "pth_p.h" /* this pulls in everything */
#include <sys/mman.h>
+#include <sys/time.h>
#include <sys/resource.h>
/* older glibc's have MAP_ANON instead of MAP_ANONYMOUS */

View File

@ -0,0 +1,10 @@
--- libs/ext/cothreads/cothreads/cothreads.c.orig Thu Nov 14 15:19:11 2002
+++ libs/ext/cothreads/cothreads/cothreads.c Thu Nov 14 15:20:02 2002
@@ -21,6 +21,7 @@
#include "pth_p.h" /* this pulls in everything */
#include <sys/mman.h>
+#include <sys/time.h>
#include <sys/resource.h>
/* older glibc's have MAP_ANON instead of MAP_ANONYMOUS */

View File

@ -0,0 +1,10 @@
--- libs/ext/cothreads/cothreads/cothreads.c.orig Thu Nov 14 15:19:11 2002
+++ libs/ext/cothreads/cothreads/cothreads.c Thu Nov 14 15:20:02 2002
@@ -21,6 +21,7 @@
#include "pth_p.h" /* this pulls in everything */
#include <sys/mman.h>
+#include <sys/time.h>
#include <sys/resource.h>
/* older glibc's have MAP_ANON instead of MAP_ANONYMOUS */