summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/main.c')
-rw-r--r--usr.bin/make/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index 038b4a8..6026fb6 100644
--- a/usr.bin/make/main.c
+++ b/usr.bin/make/main.c
@@ -77,6 +77,7 @@ __FBSDID("$FreeBSD$");
#include <unistd.h>
#include "arch.h"
+#include "buf.h"
#include "compat.h"
#include "config.h"
#include "dir.h"
@@ -1020,7 +1021,7 @@ Cmd_Exec(char *cmd, char **error)
int pid; /* PID from wait() */
char *res; /* result */
int status; /* command exit status */
- Buffer buf; /* buffer to store the result */
+ Buffer *buf; /* buffer to store the result */
char *cp;
size_t blen;
ssize_t rcnt;
OpenPOWER on IntegriCloud