Commit 200d4a4e authored by Bryan Henderson's avatar Bryan Henderson

Include stdlib.h to gives its NULL, etc. definitions precedence over ours.

parent 25b4ca42
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 @@ ...@@ -43,6 +43,12 @@
#ifndef C_H #ifndef C_H
#define 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 * Section 1: bool, true, false, TRUE, FALSE
* ---------------------------------------------------------------- * ----------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment