Silence a macro-redefined warning when crossbuilding

This is already defined by the ncurses headers, so just undef it before
defining it again.
This commit is contained in:
Alex Richardson 2021-03-01 14:11:20 +00:00
parent f5542795b9
commit 10f2a0c2e8

View File

@ -38,7 +38,9 @@
#pragma once #pragma once
/* Avoid incompatible opensolaris redeclarations (without _FORTIFY_SOURCE). */ /* Avoid incompatible opensolaris redeclarations (without _FORTIFY_SOURCE). */
#undef HAVE_STRLCAT
#define HAVE_STRLCAT 1 #define HAVE_STRLCAT 1
#undef HAVE_STRLCPY
#define HAVE_STRLCPY 1 #define HAVE_STRLCPY 1
#include_next <string.h> #include_next <string.h>