From 654ab5bee49a6fcfd3dd7b1da71c540e210129ce Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Mon, 13 Apr 2020 19:26:19 +1000 Subject: [PATCH] - Repair compiling on Arch Linux with GCC 9.3.0. 'countof()' was not available. --- source/platform/posix/unix/gtk_dialogs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/platform/posix/unix/gtk_dialogs.cpp b/source/platform/posix/unix/gtk_dialogs.cpp index 48f8c06fc..a7171eba0 100644 --- a/source/platform/posix/unix/gtk_dialogs.cpp +++ b/source/platform/posix/unix/gtk_dialogs.cpp @@ -59,6 +59,7 @@ typedef enum #include "i_system.h" #include "version.h" #include "gamecontrol.h" +#include "cmdlib.h" EXTERN_CVAR (Bool, queryiwad);