summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-01-09 11:11:06 +0200
committerunknown <monty@mashka.mysql.fi>2003-01-09 11:11:06 +0200
commitafbd3fc503ece8cfcccb5bda04ce85d249234948 (patch)
treef04a9d72de14605a0411da0263bf834e80688166 /extra
parentcf2ef3c68f696707671a96c8a2ad6c8449390f4a (diff)
downloadmariadb-git-afbd3fc503ece8cfcccb5bda04ce85d249234948.tar.gz
Portability fix
BUILD/compile-alpha-cxx: Don't do depend files with Compaq compiler configure.in: Don't do depend files with Compaq compiler extra/mysql_waitpid.c: Portability fixes mysql-test/mysql-test-run.sh: Better timeout for valgrind
Diffstat (limited to 'extra')
-rw-r--r--extra/mysql_waitpid.c25
1 files changed, 21 insertions, 4 deletions
diff --git a/extra/mysql_waitpid.c b/extra/mysql_waitpid.c
index 14d3f893c60..007db959111 100644
--- a/extra/mysql_waitpid.c
+++ b/extra/mysql_waitpid.c
@@ -1,9 +1,26 @@
-#include <sys/types.h>
-#include <signal.h>
-#include <errno.h>
-#include <string.h>
+/* Copyright (C) 2003 MySQL AB
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+/* Wait until a program dies */
+
#include <my_global.h>
+#include <m_string.h>
#include <my_getopt.h>
+#include <signal.h>
+#include <errno.h>
static const char *VER= "1.1";
static char *progname;