]> git.donarmstrong.com Git - samtools.git/commitdiff
compiling errors on some machines
authorHeng Li <lh3@me.com>
Tue, 3 Apr 2012 16:23:14 +0000 (12:23 -0400)
committerHeng Li <lh3@me.com>
Tue, 3 Apr 2012 16:23:14 +0000 (12:23 -0400)
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