Skip to content

Commit dc5449d

Browse files
committed
Include stdio.h in hts_defs.h
Needed for mingw to set the __MINGW_PRINTF_FORMAT macro.
1 parent 3027f5b commit dc5449d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

htslib/hts_defs.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ DEALINGS IN THE SOFTWARE. */
2525
#ifndef HTSLIB_HTS_DEFS_H
2626
#define HTSLIB_HTS_DEFS_H
2727

28+
#include <stdio.h>
29+
2830
#ifdef __clang__
2931
#ifdef __has_attribute
3032
#define HTS_COMPILER_HAS(attribute) __has_attribute(attribute)

0 commit comments

Comments
 (0)