]> granicus.if.org Git - graphviz/commitdiff
Commit version of gvpr using the cgraph library. The relevant
authorerg <devnull@localhost>
Wed, 9 Jan 2008 22:36:19 +0000 (22:36 +0000)
committererg <devnull@localhost>
Wed, 9 Jan 2008 22:36:19 +0000 (22:36 +0000)
code is wrapped in #ifdef USE_CGRAPH.

cmd/gvpr/queue.h

index 823a3d6f3e0bf82f6bc4aecb23afe91d6b7722eb..b6af67003911d3e503b2f6a4acb50ed31c487146 100644 (file)
@@ -21,7 +21,11 @@ extern "C" {
 #ifndef QUEUE_H
 #define QUEUE_H
 
+#ifdef USE_CGRAPH
+#include <cgraph.h>
+#else
 #include <agraph.h>
+#endif
 
     typedef Dt_t queue;