]> granicus.if.org Git - graphviz/commitdiff
disambiguate remaining memory.h #includes
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 3 Sep 2020 04:05:57 +0000 (21:05 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 5 Oct 2020 14:31:24 +0000 (07:31 -0700)
Unlike the preceding changes to disambiguate #includes, we cannot do this with
all the lib/common headers at once. Some of them are installed to users, so
making this change everywhere would be an API break that is undesirable at this
time. This specific header is disambiguated to fix #1242.

lib/common/render.h
lib/neatogen/fPQ.h
lib/sparse/general.h

index 8d9f088fcf8bbd13dafb710f859c9cfbfc5be727..f531a7001e552e7dc1924f49da08fe198230cc9b 100644 (file)
@@ -41,7 +41,7 @@ extern "C" {
 #include "macros.h"
 #include "const.h"
 #include "globals.h"
-#include "memory.h"
+#include <common/memory.h>
 #include "colorprocs.h"                /* must collow color.h (in types.h) */
 #include "geomprocs.h"         /* must follow geom.h (in types.h) */
 #include "agxbuf.h"
index 268b87c047f63485541e93fb061694816c9a20f6..edec6473dfe50924bc22fcd2fbfb225fcbea15da 100644 (file)
@@ -11,7 +11,7 @@
  * Contributors: See CVS logs. Details at http://www.graphviz.org/
  *************************************************************************/
 
-#include <memory.h>
+#include <common/memory.h>
 #include <stdio.h>
 
 /* Priority queue:
index f03be46e6ef05c2e175fa9aa99d24456fad768fc..458d8bab00f471ecd5e610ecec97d3759c57531e 100644 (file)
@@ -28,7 +28,7 @@
 #include "globals.h"
 #include "logic.h"
 #include "arith.h"
-#include "memory.h"
+#include <common/memory.h>
 #endif  /* STANDALONE */
 
 #define real double