From 4a4faa5d464b579066ef6929ce7ed9c3043a6ec0 Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Thu, 12 Oct 2017 12:29:41 +0200 Subject: [PATCH] Fix warning for major() macro. --- tests/test_utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_utils.c b/tests/test_utils.c index af51462f..07ff0e00 100644 --- a/tests/test_utils.c +++ b/tests/test_utils.c @@ -29,6 +29,9 @@ #include #include #include +#ifdef HAVE_SYS_SYSMACROS_H +# include +#endif #include #include "api_test.h"