diff options
author | Bryan Henderson <bryanh@giraffe.netgate.net> | 1996-11-14 06:06:39 +0000 |
---|---|---|
committer | Bryan Henderson <bryanh@giraffe.netgate.net> | 1996-11-14 06:06:39 +0000 |
commit | 200d4a4ec3de5958c9f85bcf2e2c9fa433dd902d (patch) | |
tree | 83e7fe21068125506a62c92aebc8e93f26b56d6d | |
parent | 25b4ca42840fa57abab7ba832926e6783b9ad8a3 (diff) | |
download | postgresql-200d4a4ec3de5958c9f85bcf2e2c9fa433dd902d.tar.gz postgresql-200d4a4ec3de5958c9f85bcf2e2c9fa433dd902d.zip |
Include stdlib.h to gives its NULL, etc. definitions precedence over ours.
-rw-r--r-- | src/include/c.h | 8 |
1 files changed, 7 insertions, 1 deletions
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 * ---------------------------------------------------------------- |