summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/Src/BannerLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DiscIO/Src/BannerLoader.cpp')
-rw-r--r--Source/Core/DiscIO/Src/BannerLoader.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/Core/DiscIO/Src/BannerLoader.cpp b/Source/Core/DiscIO/Src/BannerLoader.cpp
index 168dbd31fb..64d3913317 100644
--- a/Source/Core/DiscIO/Src/BannerLoader.cpp
+++ b/Source/Core/DiscIO/Src/BannerLoader.cpp
@@ -27,16 +27,18 @@
#ifdef WIN32
#include <Windows.h>
#else
+#include <sys/param.h>
#include <iconv.h>
#include <errno.h>
#endif
-#ifdef __FreeBSD__
-#define ICONV_CONST const
-#endif
#ifndef ICONV_CONST
+#if defined __FreeBSD__ || __NetBSD__
+#define ICONV_CONST const
+#else
#define ICONV_CONST
#endif
+#endif
namespace DiscIO
{