Displaying 1 result from an estimated 1 matches for "97ad360".
Did you mean:
972360
2020 Jan 09
1
[common/libguestfs PATCH] utils: conditionally include config.h on HAVE_CONFIG_H
...use of
config.h, make sure config.h is not requested in those cases.
This file uses only POSIX functions anyway, so it should not be a
problem.
---
utils/stringlists-utils.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/utils/stringlists-utils.c b/utils/stringlists-utils.c
index 92c8030..97ad360 100644
--- a/utils/stringlists-utils.c
+++ b/utils/stringlists-utils.c
@@ -23,7 +23,9 @@
* such as C<safe_*>, C<error> or C<perrorf>, or any C<guestfs_int_*>.
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include <stdlib.h>
#include <string....