summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lstInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/lst.lib/lstInt.h')
-rw-r--r--usr.bin/make/lst.lib/lstInt.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/make/lst.lib/lstInt.h b/usr.bin/make/lst.lib/lstInt.h
index 0296558..d83ac83 100644
--- a/usr.bin/make/lst.lib/lstInt.h
+++ b/usr.bin/make/lst.lib/lstInt.h
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)lstInt.h 8.1 (Berkeley) 6/6/93
+ * from: @(#)lstInt.h 8.1 (Berkeley) 6/6/93
*/
/*-
@@ -43,6 +43,7 @@
#ifndef _LSTINT_H_
#define _LSTINT_H_
+#include "make.h"
#include "lst.h"
typedef struct ListNode {
@@ -87,7 +88,7 @@ typedef struct {
* PAlloc (var, ptype) --
* Allocate a pointer-typedef structure 'ptype' into the variable 'var'
*/
-#define PAlloc(var,ptype) var = (ptype) malloc (sizeof (*var))
+#define PAlloc(var,ptype) var = (ptype) emalloc (sizeof (*var))
/*
* LstValid (l) --
OpenPOWER on IntegriCloud