From 8ec10dc0118b64c67ecc387120f4614d5df148ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Wed, 14 Feb 2018 20:42:29 +0100 Subject: [PATCH] Fix compilation with -Werror=missing-declarations (#127) --- src/discord_register_linux.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/discord_register_linux.cpp b/src/discord_register_linux.cpp index 68b85c3..8bd334c 100644 --- a/src/discord_register_linux.cpp +++ b/src/discord_register_linux.cpp @@ -1,4 +1,5 @@ #include "discord-rpc.h" +#include "discord_register.h" #include #include @@ -8,7 +9,7 @@ #include #include -bool Mkdir(const char* path) +static bool Mkdir(const char* path) { int result = mkdir(path, 0755); if (result == 0) {