summaryrefslogtreecommitdiff
path: root/coreutils/uname.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/uname.c')
-rw-r--r--coreutils/uname.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/uname.c b/coreutils/uname.c
index 8453bcc..9822e49 100644
--- a/coreutils/uname.c
+++ b/coreutils/uname.c
@@ -48,8 +48,9 @@
* Fix handling of -a to not print "unknown", add -o and -i support.
*/
-#include <sys/utsname.h>
#include "libbb.h"
+/* After libbb.h, since it needs sys/types.h on some systems */
+#include <sys/utsname.h>
typedef struct {
struct utsname name;