diff options
Diffstat (limited to 'lib/full-write.c')
-rw-r--r-- | lib/full-write.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/full-write.c b/lib/full-write.c index d0b90a43f..151370563 100644 --- a/lib/full-write.c +++ b/lib/full-write.c @@ -20,20 +20,25 @@ # include <config.h> #endif +/* Specification. */ +#ifdef FULL_READ +# include "full-read.h" +#else +# include "full-write.h" +#endif + #include <errno.h> #ifndef errno extern int errno; #endif #ifdef FULL_READ -# include "full-read.h" # include "safe-read.h" # define safe_rw safe_read # define full_rw full_read # undef const # define const /* empty */ #else -# include "full-write.h" # include "safe-write.h" # define safe_rw safe_write # define full_rw full_write |