From 200d4a4ec3de5958c9f85bcf2e2c9fa433dd902d Mon Sep 17 00:00:00 2001
From: Bryan Henderson <bryanh@giraffe.netgate.net>
Date: Thu, 14 Nov 1996 06:06:39 +0000
Subject: [PATCH] Include stdlib.h to gives its NULL, etc. definitions
 precedence over ours.

---
 src/include/c.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/include/c.h b/src/include/c.h
index e4cac489128..a4ba01ad3b9 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -7,7 +7,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: c.h,v 1.3 1996/11/05 05:28:20 scrappy Exp $
+ * $Id: c.h,v 1.4 1996/11/14 06:06:39 bryanh Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -43,6 +43,12 @@
 #ifndef	C_H
 #define C_H
 
+/* We have to include stdlib.h here because it defines many of these macros
+   on some platforms, and we only want our definitions used if stdlib.h doesn't
+   have its own.
+*/
+#include <stdlib.h>
+
 /* ----------------------------------------------------------------
  *		Section 1:  bool, true, false, TRUE, FALSE
  * ----------------------------------------------------------------
-- 
GitLab