Skip to content

Commit a953a87

Browse files
committed
Include <strings.h> directly where needed [minor]
Other source files that use strcase*() functions #include <strings.h> themselves, so do so for this source file too. (<strings.h> is often a byproduct of <string.h> but POSIX doesn't require that.)
1 parent 39a1407 commit a953a87

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

csq.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@
149149
#include <errno.h>
150150
#include <unistd.h>
151151
#include <ctype.h>
152+
#include <strings.h>
152153
#include "bcftools.h"
153154
#include "filter.h"
154155
#include "regidx.h"

gff.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include <assert.h>
3030
#include <inttypes.h>
3131
#include <string.h>
32+
#include <strings.h>
3233
#include <htslib/hts.h>
3334
#include <htslib/khash.h>
3435
#include <htslib/khash_str2int.h>

plugins/tag2tag.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ DEALINGS IN THE SOFTWARE. */
2424

2525
#include <stdio.h>
2626
#include <stdlib.h>
27+
#include <strings.h>
2728
#include <getopt.h>
2829
#include <math.h>
2930
#include <inttypes.h>

0 commit comments

Comments
 (0)