summaryrefslogtreecommitdiff
path: root/src/htsbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/htsbase.h')
-rw-r--r--src/htsbase.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/htsbase.h b/src/htsbase.h
index e3aec57..7340598 100644
--- a/src/htsbase.h
+++ b/src/htsbase.h
@@ -48,16 +48,13 @@ extern "C" {
#include <string.h>
#include <time.h>
-#ifdef HAVE_UNISTD_H
+#ifndef _WIN32
#include <unistd.h>
#endif
-#if ( defined(_WIN32) ||defined(HAVE_SYS_TYPES_H) )
#include <sys/types.h>
-#endif
-#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
-#endif
-#ifdef HAVE_DLFCN_H
+
+#ifndef _WIN32
#include <dlfcn.h>
#endif