]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/io.h
Opt: Make OPT_LAST_ARG actually work and document interface of opt_parse()
[libucw.git] / ucw / io.h
index a1e4c6bd9876f3d33ea46a1e8ffc401fd9a6e3c1..739921355fe1513c06d043fe1d5e4d8d91601add 100644 (file)
--- a/ucw/io.h
+++ b/ucw/io.h
 
 #include <fcntl.h>
 #include <unistd.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+
+#ifdef CONFIG_UCW_CLEAN_ABI
+#define careful_read ucw_careful_read
+#define careful_write ucw_careful_write
+#define mmap_file ucw_mmap_file
+#define munmap_file ucw_munmap_file
+#define sync_dir ucw_sync_dir
+#endif
 
 #ifdef CONFIG_UCW_LARGE_FILES