aboutsummaryrefslogtreecommitdiff
path: root/src/shared/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/misc.c')
-rw-r--r--src/shared/misc.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/shared/misc.c b/src/shared/misc.c
index a83599e5..28f95b34 100644
--- a/src/shared/misc.c
+++ b/src/shared/misc.c
@@ -15,22 +15,21 @@
* except according to the terms contained in the LICENSE file.
*/
-#include <sys/file.h>
-#include <sys/types.h>
-#include <sys/utsname.h>
-
-#ifdef __linux__
-# include <sys/sysinfo.h>
-#endif
-
-#include <sys/time.h>
#include <ctype.h>
+#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/file.h>
+#include <sys/time.h>
+#ifdef __linux__
+# include <sys/sysinfo.h>
+#endif
+#include <sys/types.h>
+#include <sys/utsname.h>
#include <time.h>
#include <unistd.h>
#include <utime.h>
@@ -40,6 +39,7 @@
#include "rc.h"
#include "misc.h"
#include "version.h"
+#include "helpers.h"
extern char **environ;