summaryrefslogtreecommitdiff
path: root/src/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/read.c')
-rw-r--r--src/read.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/read.c b/src/read.c
index 91171081..3909fc64 100644
--- a/src/read.c
+++ b/src/read.c
@@ -18,6 +18,15 @@ this program. If not, see <https://www.gnu.org/licenses/>. */
#include <assert.h>
+#if MK_OS_W32
+# include <windows.h>
+# include "sub_proc.h"
+#elif MK_OS_VMS
+struct passwd *getpwnam (char *name);
+#else
+# include <pwd.h>
+#endif
+
#include "filedef.h"
#include "dep.h"
#include "job.h"
@@ -29,15 +38,6 @@ this program. If not, see <https://www.gnu.org/licenses/>. */
#include "hash.h"
#include "warning.h"
-#if MK_OS_W32
-# include <windows.h>
-# include "sub_proc.h"
-#elif MK_OS_VMS
-struct passwd *getpwnam (char *name);
-#else
-# include <pwd.h>
-#endif
-
/* A 'struct ebuffer' controls the origin of the makefile we are currently
eval'ing.
*/