summaryrefslogtreecommitdiffstats
path: root/core/windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/windows.c')
-rw-r--r--core/windows.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/windows.c b/core/windows.c
index 393286a06..1166e858a 100644
--- a/core/windows.c
+++ b/core/windows.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
/* windows.c */
/* implements Windows specific functions */
+#include "ssrf.h"
#include <io.h>
#include "dive.h"
#include "display.h"
@@ -391,7 +392,7 @@ static struct {
void subsurface_console_init(void)
{
- (void)console_desc;
+ UNUSED(console_desc);
/* if this is a console app already, do nothing */
#ifndef WIN32_CONSOLE_APP