diff options
Diffstat (limited to 'benchmarks/postal/patches/patch-aa')
-rw-r--r-- | benchmarks/postal/patches/patch-aa | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/benchmarks/postal/patches/patch-aa b/benchmarks/postal/patches/patch-aa index 6c4826d4d67..2e8e693ab1a 100644 --- a/benchmarks/postal/patches/patch-aa +++ b/benchmarks/postal/patches/patch-aa @@ -1,8 +1,15 @@ -$NetBSD: patch-aa,v 1.2 2011/11/24 01:15:41 marino Exp $ +$NetBSD: patch-aa,v 1.3 2013/05/23 14:59:13 joerg Exp $ --- postal.cpp.orig 2007-01-14 04:40:23.000000000 +0000 +++ postal.cpp -@@ -16,6 +16,15 @@ +@@ -10,12 +10,22 @@ + #include <stdio.h> + #include "postal.h" + #include "logit.h" ++#include <cstdlib> + #ifdef USE_GNUTLS + #include <errno.h> + #include <gcrypt.h> GCRY_THREAD_OPTION_PTHREAD_IMPL; #endif @@ -18,7 +25,7 @@ $NetBSD: patch-aa,v 1.2 2011/11/24 01:15:41 marino Exp $ void usage() { printf("Usage: postal [-m maximum-message-size] [-M minimum-message-size] [-t threads]\n" -@@ -152,7 +161,9 @@ int main(int argc, char **argv) +@@ -152,7 +162,9 @@ int main(int argc, char **argv) struct sigaction sa; sa.sa_sigaction = NULL; sa.sa_handler = SIG_IGN; |