X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxnanosleep.c;h=bab58eecb4e9b98e49f65b40c076ca592374933a;hb=fb84631f1ec8e82d252cbad0b5b7f83a98e74ba9;hp=08ad61002d3e4c3f1252ddcdb0ebb9d113bdd565;hpb=267a39bafd249d7eb9c37df06dc6defcf41cb343;p=gnulib.git diff --git a/lib/xnanosleep.c b/lib/xnanosleep.c index 08ad61002..bab58eecb 100644 --- a/lib/xnanosleep.c +++ b/lib/xnanosleep.c @@ -18,7 +18,7 @@ /* Mostly written (for sleep.c) by Paul Eggert. Factored out (creating this file) by Jim Meyering. */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif @@ -33,6 +33,7 @@ #include #include "intprops.h" +#include "timespec.h" #ifndef TIME_T_MAX # define TIME_T_MAX TYPE_MAXIMUM (time_t)