include includes.h in all the ubiqx files. I know Chris won't like
authorAndrew Tridgell <tridge@samba.org>
Mon, 11 May 1998 08:32:37 +0000 (08:32 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 11 May 1998 08:32:37 +0000 (08:32 +0000)
this but it really is necessary (sorry Chris!)

ubiqx code didn't compile on SunOS4 otherwise as stdlib didn't define
NULL.

source/ubiqx/ubi_AVLtree.c
source/ubiqx/ubi_BinTree.c
source/ubiqx/ubi_Cache.c
source/ubiqx/ubi_SplayTree.c
source/ubiqx/ubi_dLinkList.c

index c02765f4413e127f5f40e3a4dfef230daad48437..8f7cb29764bbfaa716deea9d9d18b2928f5ba0ec 100644 (file)
  *  ========================================================================= **
  */
 
+#include "../includes.h"
 #include "ubi_AVLtree.h"            /* Header for THIS module.             */
-#include <stdlib.h>                 /* Standard C definitions, etc.        */
 
 /* ========================================================================== **
  * Static data.
index ed565bbfbaa5c3d21faaff12f6fd55f26be0fa70..16640f278eb34f29b69c2ea0fc3af7e6717a88aa 100644 (file)
  * ========================================================================== **
  */
 
+#include "../includes.h"
 #include "ubi_BinTree.h"            /* Header for this module          */
-#include <stdlib.h>                 /* Standard C definitions.         */
+
 
 /* ========================================================================== **
  * Static data.
index e566e6c7daf9b9e757b6b8e34acfd0dc8972a97e..290f7593e7552edfc1c55752855ad57cb56f7862 100644 (file)
@@ -97,7 +97,7 @@
  * ========================================================================== **
  */
 
-#include <stdlib.h>     /* Defines NULL. */
+#include "../includes.h"
 #include "ubi_Cache.h"  /* Header for *this* module. */
 
 /* -------------------------------------------------------------------------- **
index 89ddfb988ac0d547fe2023ae4bd1814d33ab7915..7bc1070bc79714bd8ec3782060a6b4e563797569 100644 (file)
  * ========================================================================== **
  */
 
-#include <stdlib.h>        /* Defines NULL for us.                */
+#include "../includes.h"
 #include "ubi_SplayTree.h" /* Header for THIS module.             */
 
 /* ========================================================================== **
index c903dcbc042a8813559684b8f64a3246210ce870..65c11d225d83d18bd5e69a79f720fb4f8a7ca744 100644 (file)
@@ -52,6 +52,7 @@
  * ========================================================================== **
  */
 
+#include "../includes.h"
 #include "ubi_dLinkList.h"
 
 /* ========================================================================== **