From: ellson Date: Tue, 18 Oct 2005 19:07:47 +0000 (+0000) Subject: config.h is private, don't include from any public headers X-Git-Tag: LAST_LIBGRAPH~32^2~7150 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec8854d084e492a61eab3265e531e3f15f213495;p=graphviz config.h is private, don't include from any public headers --- diff --git a/lib/common/arith.h b/lib/common/arith.h index 0d35e2c66..d9ade4a12 100644 --- a/lib/common/arith.h +++ b/lib/common/arith.h @@ -20,10 +20,6 @@ #ifndef GV_ARITH_H #define GV_ARITH_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - /* for sincos */ #define _GNU_SOURCE 1 #ifdef HAVE_LIMITS_H diff --git a/lib/gvc/gvc.h b/lib/gvc/gvc.h index 99ce33280..899281a5f 100644 --- a/lib/gvc/gvc.h +++ b/lib/gvc/gvc.h @@ -17,10 +17,6 @@ #ifndef GVC_H #define GVC_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include "types.h" #include "graph.h" @@ -92,4 +88,4 @@ extern int gvFreeContext(GVC_t *gvc); #ifdef __cplusplus } #endif -#endif /* RENDER_H */ +#endif /* GVC_H */