]> granicus.if.org Git - graphviz/commitdiff
Unconditionally include limits.h and values.h
authorellson <devnull@localhost>
Thu, 15 May 2008 11:35:54 +0000 (11:35 +0000)
committerellson <devnull@localhost>
Thu, 15 May 2008 11:35:54 +0000 (11:35 +0000)
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=357941

lib/common/arith.h

index 2bf100e31c815c76b9a0f0c4d3c677aa6184f94b..7af936b19031aef036b04f61b17d4e19e9bf1e30 100644 (file)
 #ifndef _GNU_SOURCE
 #define _GNU_SOURCE 1
 #endif
-#ifdef HAVE_LIMITS_H
+
 #include <limits.h>
-#else
-#ifdef HAVE_VALUES_H
 #include <values.h>
-#endif
-#endif
 #include <math.h>
 
 #ifdef __cplusplus