summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/freebsd/defs.c
diff options
context:
space:
mode:
authorDevon H. O'Dell <devon.odell@gmail.com>2009-11-17 23:58:51 -0800
committerDevon H. O'Dell <devon.odell@gmail.com>2009-11-17 23:58:51 -0800
commitcba2fe2462fda1fe7b265f8056a89e6f6e06e938 (patch)
tree9f74efdaa20cae5f6501fd3fe6e50ced586dcfe9 /src/pkg/runtime/freebsd/defs.c
parentdaab757a6fa77ff08a76fa1307a0c5f1f15e5c42 (diff)
downloadgolang-cba2fe2462fda1fe7b265f8056a89e6f6e06e938.tar.gz
FreeBSD/i386 work
This patchset gets Go to pretty much the same state that FreeBSD/amd64 is in. R=rsc http://codereview.appspot.com/157055 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/pkg/runtime/freebsd/defs.c')
-rw-r--r--src/pkg/runtime/freebsd/defs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/runtime/freebsd/defs.c b/src/pkg/runtime/freebsd/defs.c
index 414e7cd76..93f3f9d15 100644
--- a/src/pkg/runtime/freebsd/defs.c
+++ b/src/pkg/runtime/freebsd/defs.c
@@ -16,6 +16,8 @@
#include <sys/mman.h>
#include <sys/ucontext.h>
#include <sys/umtx.h>
+#include <sys/rtprio.h>
+#include <sys/thr.h>
#include <sys/_sigset.h>
enum {
@@ -37,6 +39,8 @@ enum {
$EINTR = EINTR,
};
+typedef struct rtprio $Rtprio;
+typedef struct thr_param $ThrParam;
typedef struct sigaltstack $Sigaltstack;
typedef struct __sigset $Sigset;
typedef union sigval $Sigval;