[PATCH 1/6] lib: Add missing config.h include to next_prime.c
Michael Pratt
mcpratt@pm.me
Thu Oct 10 10:26:54 GMT 2024
This is the last remaining C source file as of this commit
without the standard conditional inclusion of config.h
as the very first header.
* lib/next_prime.c: add missing config.h header.
Signed-off-by: Michael Pratt <mcpratt@pm.me>
---
lib/next_prime.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/next_prime.c b/lib/next_prime.c
index f2c921e3..97c425e1 100644
--- a/lib/next_prime.c
+++ b/lib/next_prime.c
@@ -27,6 +27,10 @@
the GNU Lesser General Public License along with this program. If
not, see <http://www.gnu.org/licenses/>. */
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stddef.h>
--
2.30.2
More information about the Elfutils-devel
mailing list