]> git.donarmstrong.com Git - samtools.git/commitdiff
Fix missing declaration for getopt on Mac OS X
authorpeterjc <p.j.a.cock@googlemail.com>
Tue, 12 Jun 2012 14:50:19 +0000 (15:50 +0100)
committerpeterjc <p.j.a.cock@googlemail.com>
Tue, 12 Jun 2012 14:50:19 +0000 (15:50 +0100)
bam_mate.c
bam_tview.c
bedcov.c

index cfa2e758a2b550c24b887d992b6a9cbe2ce28b21..b947c9d61dad62729e190141efb5ef1d04616c6e 100644 (file)
@@ -1,5 +1,6 @@
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 #include "kstring.h"
 #include "bam.h"
 
index 50bac9991b2fc435abc9a35bb044db26c4477fbc..20e6f466dfdf9ab0a2ba444e4181a20115b0632e 100644 (file)
@@ -20,6 +20,7 @@
 #include <assert.h>
 #include <string.h>
 #include <math.h>
+#include <unistd.h>
 #include "bam.h"
 #include "faidx.h"
 #include "bam2bcf.h"
index 2b61a22a7826f28d9519cd0ebfdbb9617cb3dd0a..3e4b952894523ea1ed0ae18f5e06f6b449e76b27 100644 (file)
--- a/bedcov.c
+++ b/bedcov.c
@@ -3,6 +3,7 @@
 #include <ctype.h>
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 #include "kstring.h"
 #include "bgzf.h"
 #include "bam.h"