]> granicus.if.org Git - graphviz/commitdiff
Re-add definition for R_OK. Can we think of any OS which might
authorerg <devnull@localhost>
Mon, 16 Jun 2008 16:29:54 +0000 (16:29 +0000)
committererg <devnull@localhost>
Mon, 16 Jun 2008 16:29:54 +0000 (16:29 +0000)
not have unistd.h to supply this definition?

ast_common.h.in

index 5f0c832ab631b4c139095722dced05273379b1c8..f57967e51ac768cb8a536ca83026d12deea27844 100644 (file)
@@ -211,4 +211,8 @@ typedef int ssize_t;
 #define MAXINT INT_MAX
 #endif
 
+#ifndef R_OK
+#define R_OK 4
+#endif
+
 #endif /*AST_COMMON_H*/