[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] build: include headers proposed by bootstrap output
From: |
Sami Kerola |
Subject: |
[PATCH 2/2] build: include headers proposed by bootstrap output |
Date: |
Sat, 11 Feb 2017 12:19:01 +0000 |
* src/hello.c: include missing headers and add spacing to give hint
which headers are more special than the other. Notic that config.h
and system.h should be included earlier rather than later, else
features, translations, and such might not work correctly.
---
src/hello.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/hello.c b/src/hello.c
index 55edfa4..5bb87d5 100644
--- a/src/hello.c
+++ b/src/hello.c
@@ -18,11 +18,19 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
+
+#include <getopt.h>
#include <stdnoreturn.h>
+#include <wchar.h>
#include "system.h"
+
+#include "closeout.h"
+#include "configmake.h"
+#include "dirname.h"
#include "errno.h"
#include "error.h"
+#include "gettext.h"
#include "progname.h"
#include "xalloc.h"
--
2.11.1