Index: src/pkg/runtime/freebsd/defs.c |
=================================================================== |
--- a/src/pkg/runtime/freebsd/defs.c |
+++ b/src/pkg/runtime/freebsd/defs.c |
@@ -19,6 +19,7 @@ |
#include <sys/rtprio.h> |
#include <sys/thr.h> |
#include <sys/_sigset.h> |
+#include <sys/unistd.h> |
enum { |
$PROT_NONE = PROT_NONE, |
@@ -103,4 +104,5 @@ |
typedef mcontext_t $Mcontext; |
typedef ucontext_t $Ucontext; |
+typedef struct timeval $Timeval; |
typedef struct itimerval $Itimerval; |