]> granicus.if.org Git - postgresql/commitdiff
Include stdlib.h to gives its NULL, etc. definitions precedence over ours.
authorBryan Henderson <bryanh@giraffe.netgate.net>
Thu, 14 Nov 1996 06:06:39 +0000 (06:06 +0000)
committerBryan Henderson <bryanh@giraffe.netgate.net>
Thu, 14 Nov 1996 06:06:39 +0000 (06:06 +0000)
src/include/c.h

index e4cac489128619710912b078d298d00acea1b582..a4ba01ad3b97bf3a3a9cd63b11ecd3107b224b6c 100644 (file)
@@ -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 $
  *
  *-------------------------------------------------------------------------
  */
 #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
  * ----------------------------------------------------------------