diff options
Diffstat (limited to 'lib/unlocked-io.h')
-rw-r--r-- | lib/unlocked-io.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/unlocked-io.h b/lib/unlocked-io.h index fdef624ab9..4830df4a74 100644 --- a/lib/unlocked-io.h +++ b/lib/unlocked-io.h @@ -31,6 +31,11 @@ the *_unlocked functions directly. On hosts that lack those functions, invoke the non-thread-safe versions instead. */ +/* This file uses HAVE_DECL_*_UNLOCKED. */ +# if !_GL_CONFIG_H_INCLUDED +# error "Please include config.h first." +# endif + # include <stdio.h> # if HAVE_DECL_CLEARERR_UNLOCKED || defined clearerr_unlocked |