Rename xclone to xmemdup. Remove obsolete xalloc macros.
[gnulib.git] / lib / getndelim2.c
index c3c0566..aef9780 100644 (file)
 #include "getndelim2.h"
 
 #include <stdlib.h>
+#include <stddef.h>
 
-#include "unlocked-io.h"
+#if USE_UNLOCKED_IO
+# include "unlocked-io.h"
+#endif
 
 #include <limits.h>
 #if HAVE_INTTYPES_H