diff options
author | Rob Landley <rob@landley.net> | 2015-05-03 16:20:27 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-05-03 16:20:27 -0500 |
commit | 9398f05d34453e9306f7a91993ee4c8fcf1102ec (patch) | |
tree | 4891ab697227e014df4021a33acbe5c4668bc7e5 | |
parent | a967a669458ebb6b2a88a2d7e290ad449ab79d12 (diff) | |
download | toybox-9398f05d34453e9306f7a91993ee4c8fcf1102ec.tar.gz toybox-9398f05d34453e9306f7a91993ee4c8fcf1102ec.tar.bz2 toybox-9398f05d34453e9306f7a91993ee4c8fcf1102ec.zip |
Move a prototype to the start of portability.h (suggested by Elliott Hughes)
-rw-r--r-- | lib/portability.h | 3 | ||||
-rw-r--r-- | toys.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/portability.h b/lib/portability.h index b25048f..7bab646 100644 --- a/lib/portability.h +++ b/lib/portability.h @@ -28,6 +28,9 @@ #include <features.h> +// Types various replacement prototypes need +#include <sys/types.h> + // Various constants old build environments might not have even if kernel does #ifndef AT_FDCWD @@ -36,7 +36,6 @@ #include <sys/statvfs.h> #include <sys/time.h> #include <sys/times.h> -#include <sys/types.h> #include <sys/utsname.h> #include <sys/wait.h> #include <syslog.h> |