]> granicus.if.org Git - graphviz/commitdiff
cgraph: remove duplicate include and adjust another
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 13 Sep 2022 03:26:03 +0000 (20:26 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 13 Sep 2022 14:50:40 +0000 (07:50 -0700)
lib/ is in the include path when building cgraph sources, so we can include
cgraph headers in a more uniform way, matching how other libraries include
cgraph headers.

lib/cgraph/scan.l

index 5b2ba3809e60f21973021bb4e979271701c377ea..412edd580a45617b2a47b754be01c1f0b6d1f333 100644 (file)
@@ -25,8 +25,7 @@
 %{
 #include <assert.h>
 #include <grammar.h>
-#include <cghdr.h>
-#include <agxbuf.h>
+#include <cgraph/cghdr.h>
 #include <cgraph/agxbuf.h>
 #include <ctype.h>
 #include <stdbool.h>