summaryrefslogtreecommitdiff
path: root/lib/xnanosleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xnanosleep.c')
-rw-r--r--lib/xnanosleep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/xnanosleep.c b/lib/xnanosleep.c
index 4bb217a3d..6ca43e560 100644
--- a/lib/xnanosleep.c
+++ b/lib/xnanosleep.c
@@ -22,6 +22,8 @@
# include <config.h>
#endif
+#include "xnanosleep.h"
+
#include <limits.h>
#include <stdbool.h>
#include <stdio.h>
@@ -44,7 +46,6 @@
#include "timespec.h"
#include "xalloc.h"
-#include "xnanosleep.h"
/* Subtract the `struct timespec' values X and Y by computing X - Y.
If the difference is negative or zero, return false.