summaryrefslogtreecommitdiff
path: root/lib/xnanosleep.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-07 07:16:54 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-07 07:16:54 +0000
commita86c457f64bde96a95ac0a376f4e24546ac62926 (patch)
tree1465af8a18efb7a319bc94ddc7569d1841b03a08 /lib/xnanosleep.c
parenta3538ea055d68218c32918bf390ac5cb36d38c09 (diff)
downloadcoreutils-a86c457f64bde96a95ac0a376f4e24546ac62926.tar.xz
Merge from gnulib.
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.