summaryrefslogtreecommitdiff
path: root/examples/index-pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/index-pack.c')
-rw-r--r--examples/index-pack.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/examples/index-pack.c b/examples/index-pack.c
index 0941e09e7..2181f43f3 100644
--- a/examples/index-pack.c
+++ b/examples/index-pack.c
@@ -1,21 +1,5 @@
#include "common.h"
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#ifdef _WIN32
-# include <io.h>
-# include <Windows.h>
-
-# define open _open
-# define read _read
-# define close _close
-
-#define ssize_t int
-#else
-# include <unistd.h>
-#endif
-
/*
* This could be run in the main loop whilst the application waits for
* the indexing to finish in a worker thread