Skip to content

Commit b9cab71

Browse files
#include <string.h> to use strncpy (#6408)
1 parent 6c69c15 commit b9cab71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/snprintf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "data.table.h"
2020
#include <stdarg.h>
2121
#include <ctype.h> // isdigit
22+
#include <string.h> // strncpy
2223
#undef snprintf // on Windows, just in this file, we do want to use the C library's snprintf
2324

2425
int dt_win_snprintf(char *dest, const size_t n, const char *fmt, ...)

0 commit comments

Comments
 (0)