diff options
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | execve.c | 3 | ||||
| -rw-r--r-- | input.c | 3 | ||||
| -rw-r--r-- | system-bsd.c | 3 | ||||
| -rw-r--r-- | wait.c | 3 |
5 files changed, 10 insertions, 4 deletions
@@ -765,4 +765,6 @@ Changes since rc-1.5b2 2002-02-08 + Bug: yet more wrongly ordered header file includes. + Release: rc-1.6c6. @@ -5,9 +5,10 @@ spots before av[][] so that execve does not have to call malloc. */ -#include <errno.h> #include "rc.h" +#include <errno.h> + #define giveupif(x) { if (x) goto fail; } extern int rc_execve(char *path, char **av, char **ev) { @@ -1,8 +1,9 @@ /* input.c: i/o routines for files and pseudo-files (strings) */ +#include "rc.h" + #include <errno.h> -#include "rc.h" #include "jbwrap.h" /* diff --git a/system-bsd.c b/system-bsd.c index 3babaea..f081e1a 100644 --- a/system-bsd.c +++ b/system-bsd.c @@ -1,9 +1,10 @@ /* signal-safe read and write (for BSD slow devices). writeall() also allows partial writes */ +#include "rc.h" + #include <errno.h> -#include "rc.h" #include "jbwrap.h" #include "wait.h" @@ -1,6 +1,7 @@ +#include "rc.h" + #include <errno.h> -#include "rc.h" #include "wait.h" bool forked = FALSE; |