Remove duplicate #include <string.h> [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2023-08-27 23:21:20 +09:00
parent b7237e3bbd
commit 78c5bb1136
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465
2 changed files with 2 additions and 5 deletions

View File

@ -1,12 +1,9 @@
#ifndef __STDC_WANT_LIB_EXT1__
#define __STDC_WANT_LIB_EXT1__ 1
#define __STDC_WANT_LIB_EXT1__ 1 /* for memset_s() */
#endif
#include "ruby/missing.h"
#include <string.h>
#ifdef HAVE_MEMSET_S
# include <string.h>
#endif
#ifdef _WIN32
#include <windows.h>

2
util.c
View File

@ -14,7 +14,7 @@
#endif
#ifndef __STDC_WANT_LIB_EXT1__
#define __STDC_WANT_LIB_EXT1__ 1
#define __STDC_WANT_LIB_EXT1__ 1 /* for qsort_s() */
#endif
#include "ruby/internal/config.h"