From: Joe Orton Date: Thu, 10 Jul 2003 19:16:35 +0000 (+0000) Subject: Pick up getpid() prototype. X-Git-Tag: pre_ajp_proxy~1462 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32bc13995eb64834b691bd5818432a390d69d836;p=apache Pick up getpid() prototype. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100539 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/ab.c b/support/ab.c index d17902ee24..059f4c2fc0 100644 --- a/support/ab.c +++ b/support/ab.c @@ -186,6 +186,9 @@ #if APR_HAVE_STDLIB_H #include #endif +#if APR_HAVE_UNISTD_H +#include /* for getpid() */ +#endif #if !defined(WIN32) && !defined(NETWARE) #include "ap_config_auto.h" @@ -1790,14 +1793,14 @@ static void test(void) static void copyright(void) { if (!use_html) { - printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.125 $> apache-2.0"); + printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.126 $> apache-2.0"); printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n"); printf("Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/\n"); printf("\n"); } else { printf("

\n"); - printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AP_AB_BASEREVISION, "$Revision: 1.125 $"); + printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AP_AB_BASEREVISION, "$Revision: 1.126 $"); printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
\n"); printf(" Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
\n"); printf("

\n

\n");