From 2d0a2b21f51ba91803ec24b54f0a7d1fcfe10451 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Fri, 23 Jun 2023 22:40:09 +0000 Subject: [PATCH] add missing include of ../config.h in regress/*.c otherwise we get a nice 'no previous prototype' due to -Wmissing-prototypes. --- compat/getdtablesize.c | 2 ++ compat/memmem.c | 2 ++ compat/setresgid.c | 2 ++ compat/setresuid.c | 2 ++ 4 files changed, 8 insertions(+) diff --git a/compat/getdtablesize.c b/compat/getdtablesize.c index 9376218..ec22d41 100644 --- a/compat/getdtablesize.c +++ b/compat/getdtablesize.c @@ -14,6 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "../config.h" + #include int diff --git a/compat/memmem.c b/compat/memmem.c index 9b11960..5e6907b 100644 --- a/compat/memmem.c +++ b/compat/memmem.c @@ -23,6 +23,8 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#include "../config.h" + #include #include diff --git a/compat/setresgid.c b/compat/setresgid.c index ec625cd..d0d2fb7 100644 --- a/compat/setresgid.c +++ b/compat/setresgid.c @@ -14,6 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "../config.h" + #include #include diff --git a/compat/setresuid.c b/compat/setresuid.c index a033d99..62e3d98 100644 --- a/compat/setresuid.c +++ b/compat/setresuid.c @@ -14,6 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "../config.h" + #include #include