diff --git a/src/CollectorList.h b/src/CollectorList.h index 365d27f8f..249cf08b2 100644 --- a/src/CollectorList.h +++ b/src/CollectorList.h @@ -1,3 +1,4 @@ +#include #include class CollectorList { diff --git a/src/dir.cc b/src/dir.cc index d1f0bb891..24f7d78a4 100644 --- a/src/dir.cc +++ b/src/dir.cc @@ -9,6 +9,7 @@ #undef ERROR #include "CollectorList.h" +#include "R.h" #include "Rinternals.h" #include "error.h" #include "utils.h" diff --git a/src/error.h b/src/error.h index 9aa5dca33..0218c7048 100644 --- a/src/error.h +++ b/src/error.h @@ -2,6 +2,7 @@ #define ERROR_H_ #define R_NO_REMAP +#include #include #undef R_NO_REMAP diff --git a/src/file.cc b/src/file.cc index 202be46a7..0a697d86c 100644 --- a/src/file.cc +++ b/src/file.cc @@ -14,6 +14,7 @@ #include #endif +#include #include #include "getmode.h" diff --git a/src/fs.cc b/src/fs.cc index 27340681b..0ac8ff44f 100644 --- a/src/fs.cc +++ b/src/fs.cc @@ -1,3 +1,4 @@ +#include "R.h" #include "Rinternals.h" #include "uv.h" diff --git a/src/getmode.h b/src/getmode.h index fbc89f9c9..a5a6c0ee0 100644 --- a/src/getmode.h +++ b/src/getmode.h @@ -1,6 +1,7 @@ #pragma once #define R_NO_REMAP +#include #include #undef R_NO_REMAP diff --git a/src/id.cc b/src/id.cc index b07fe723f..dd06dcc9a 100644 --- a/src/id.cc +++ b/src/id.cc @@ -9,6 +9,7 @@ #include #endif +#include #include #include "utils.h" diff --git a/src/init.cc b/src/init.cc index a21626b04..aa670d5c5 100644 --- a/src/init.cc +++ b/src/init.cc @@ -1,6 +1,7 @@ #include // for NULL #include #include +#include #include /* FIXME: diff --git a/src/link.cc b/src/link.cc index 566540ae5..91bb96621 100644 --- a/src/link.cc +++ b/src/link.cc @@ -1,6 +1,7 @@ #include +#include "R.h" #include "Rinternals.h" #include "error.h" #include "utils.h" diff --git a/src/path.cc b/src/path.cc index 63fa2ff27..90275116b 100644 --- a/src/path.cc +++ b/src/path.cc @@ -4,6 +4,7 @@ #include #include +#include "R.h" #include "Rinternals.h" #include "error.h" #include "utils.h" diff --git a/src/unix/getmode.cc b/src/unix/getmode.cc index 7cbcf508e..f2af13854 100644 --- a/src/unix/getmode.cc +++ b/src/unix/getmode.cc @@ -10,6 +10,7 @@ #include "bsd/unistd.h" /* for getmode / setmode */ #endif +#include #include /* for Rf_error */ #include diff --git a/src/windows/getmode.cc b/src/windows/getmode.cc index e18c40931..4e84b1643 100644 --- a/src/windows/getmode.cc +++ b/src/windows/getmode.cc @@ -1,6 +1,7 @@ #include "getmode.h" #include +#include #include /* for Rf_error */ /* code adapted from https://cgit.freedesktop.org/libbsd/tree/src/setmode.c */