]> git.donarmstrong.com Git - samtools.git/blobdiff - bgzf.h
works
[samtools.git] / bgzf.h
diff --git a/bgzf.h b/bgzf.h
index 9984d8fe8ea9146330335ac1d4ff5ed9db454ad5..cb67681544b51f96efef226fa7a6232124c43420 100644 (file)
--- a/bgzf.h
+++ b/bgzf.h
@@ -31,6 +31,7 @@
 #include <stdint.h>
 #include <stdio.h>
 #include <zlib.h>
+#include <sys/types.h>
 
 #define BGZF_BLOCK_SIZE     0xff00 // make sure compressBound(BGZF_BLOCK_SIZE) < BGZF_MAX_BLOCK_SIZE
 #define BGZF_MAX_BLOCK_SIZE 0x10000