diff options
Diffstat (limited to 'benchmarks/dbs/files/patch-ab')
-rw-r--r-- | benchmarks/dbs/files/patch-ab | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/benchmarks/dbs/files/patch-ab b/benchmarks/dbs/files/patch-ab new file mode 100644 index 000000000000..f3f9b60fdb4d --- /dev/null +++ b/benchmarks/dbs/files/patch-ab @@ -0,0 +1,22 @@ +--- src/dbsc.c-- Mon Jun 8 00:23:35 1998 ++++ src/dbsc.c Sat Aug 1 19:29:49 1998 +@@ -51,6 +51,10 @@ + + #define DBSC + ++#ifdef HAVE_SYS_PARAM_H ++#include <sys/param.h> ++#endif ++ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +@@ -69,7 +73,7 @@ + #include <arpa/inet.h> + #include <errno.h> + +-#if !defined(bsdi) ++#if (!defined(BSD) || (BSD < 199306)) + #include <malloc.h> + #endif + |