Fix -current build.

This commit is contained in:
Jean-Marc Zucconi 2002-10-19 20:24:59 +00:00
parent 1b8c7ddbd8
commit 9137b8c445
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68378

View file

@ -0,0 +1,19 @@
--- mshell.c~ Sat Oct 19 22:05:59 2002
+++ mshell.c Sat Oct 19 22:19:20 2002
@@ -1,5 +1,6 @@
#include "mshell.h"
#include <setjmp.h>
+#include <stdlib.h>
char * index ();
--- string.c~ Sat Oct 19 22:05:59 2002
+++ string.c Sat Oct 19 22:22:00 2002
@@ -284,6 +284,7 @@
#define MACRO_DELIM '#'
if (string[0] == MACRO_DELIM) {
char *mac_lookup();
+ char *strsave();
char *def = mac_lookup(string+1);
struct inp_link *l;
if (def && (l = getnode(sizeof(*l))) &&