Fix build in -CURRENT
Submitted by: Frode Nordahl <frode@nordahl.net>
This commit is contained in:
parent
d7a534a211
commit
778a32b7d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70121
@ -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 */
|
@ -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 */
|
@ -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 */
|
Loading…
Reference in New Issue
Block a user