Browse code

Quick fix for compilation error on lconway (macOS Monterey, R 4.2.0)

Hervé Pagès authored on 10/05/2022 04:36:22
Showing2 changed files

... ...
@@ -2,7 +2,7 @@ Package: Rgraphviz
2 2
 Title: Provides plotting capabilities for R graph objects
3 3
 Description: Interfaces R with the AT and T graphviz library for
4 4
         plotting R graph objects from the graph package.
5
-Version: 2.39.1
5
+Version: 2.39.2
6 6
 Authors@R: c(person(c("Kasper", "Daniel"), "Hansen", role = c("cre", "aut"),
7 7
                     email = "kasperdanielhansen@gmail.com"),
8 8
              person("Jeff", "Gentry", role = "aut"),
... ...
@@ -16,6 +16,7 @@
16 16
 #endif
17 17
 
18 18
 #include <stdlib.h>
19
+#include <unistd.h>  # for read() declaration
19 20
 #include <sys/types.h>
20 21
 #include <sys/stat.h>
21 22
 #if HAVE_SYS_MMAN_H