aboutsummaryrefslogtreecommitdiff
path: root/execute_program.c
diff options
context:
space:
mode:
authorJuan Cespedes <cespedes@debian.org>1998-09-25 14:48:42 +0200
committerJuan Cespedes <cespedes@debian.org>1998-09-25 14:48:42 +0200
commitd44c6b8b090b8b7aa9d971d9e0bfd848732a3071 (patch)
treec304ad26a8ab4faf3fe5c92c3fb4d011c40c503a /execute_program.c
parent8e3e082c27716245619721207cd5067d8c6271f9 (diff)
downloadltrace-d44c6b8b090b8b7aa9d971d9e0bfd848732a3071.tar.gz
Version: 0.3.6
* Added m68k port (Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>) (Bug#27075) * Changed "int pid" with "pid_t pid" everywhere * Fixed return type of some functions from "int" to "void *" (thanks, Roman)
Diffstat (limited to 'execute_program.c')
-rw-r--r--execute_program.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/execute_program.c b/execute_program.c
index 663d8e9..6f68bb3 100644
--- a/execute_program.c
+++ b/execute_program.c
@@ -1,3 +1,7 @@
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -16,7 +20,7 @@ static void change_uid(struct process * proc);
void execute_program(struct process * sp, char **argv)
{
- int pid;
+ pid_t pid;
if (opt_d) {
output_line(0, "Executing `%s'...", sp->filename);