]> granicus.if.org Git - graphviz/commitdiff
remove unnecessary ifdef sun guard
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 4 Aug 2021 02:49:04 +0000 (19:49 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 8 Aug 2021 17:40:53 +0000 (10:40 -0700)
Graphviz is compiled with C99, where string.h is always available and safe to
include.

lib/ast/ast.h

index 78ccdc768588c0c40827bba4968602271798c7df..2f4e952b4f16f4003ecb8bb1c106bb7f9a2e82e6 100644 (file)
@@ -18,9 +18,7 @@ extern "C" {
 #include <sfio/sfio.h>
 #include <stdlib.h>
 #include <stddef.h>
-#ifdef sun
 #include <string.h>
-#endif
 
 #ifndef PATH_MAX
 #define PATH_MAX    1024