SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
19
benchmarks/ubench/patches/patch-cpubench_c
Normal file
19
benchmarks/ubench/patches/patch-cpubench_c
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- cpubench.c.orig 2000-05-29 05:21:13.000000000 +0200
|
||||
+++ cpubench.c 2004-06-03 09:40:21.000000000 +0200
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/times.h>
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#include <setjmp.h>
|
||||
@@ -41,7 +42,7 @@ extern char *_sys_errlist[];
|
||||
#define sys_errlist _sys_errlist
|
||||
#endif
|
||||
|
||||
-#ifdef SunOS
|
||||
+#if defined(SunOS) || defined(__OpenBSD__)
|
||||
extern sigjmp_buf env;
|
||||
#else
|
||||
extern jmp_buf env;
|
Loading…
Add table
Add a link
Reference in a new issue