From feb9c4a48b9bb9124921c5ff7a10d9fd3bd02205 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Fri, 24 Feb 2023 22:05:48 -0800 Subject: [PATCH] Windows: Fix build clang-cl --- include/mgba-util/platform/windows/getopt.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/mgba-util/platform/windows/getopt.h b/include/mgba-util/platform/windows/getopt.h index 5ea2dbe6f..22a196ef6 100644 --- a/include/mgba-util/platform/windows/getopt.h +++ b/include/mgba-util/platform/windows/getopt.h @@ -27,6 +27,8 @@ extern "C" { #endif +struct option; + #define REPLACE_GETOPT /* use this getopt as the system getopt(3) */ #ifdef REPLACE_GETOPT