]> granicus.if.org Git - graphviz/commitdiff
according to "man regex" an "#include <sys/types.h>" is required.
authorellson <devnull@localhost>
Fri, 2 Dec 2005 04:14:47 +0000 (04:14 +0000)
committerellson <devnull@localhost>
Fri, 2 Dec 2005 04:14:47 +0000 (04:14 +0000)
   apparently this is really so on Mac OSX

lib/gvc/gvconfig.c

index ac520e326c530fedc4bc722454813a2533d40fff..36d712d1a9d4a7237fb99d582890e1ae5adac3be 100644 (file)
@@ -21,6 +21,7 @@
 #include       <string.h>
 
 #ifndef DISABLE_LTDL
+#include       <sys/types.h>
 #include       <regex.h>
 #include       <sys/stat.h>
 #include       <unistd.h>