mirror of
https://github.com/ZDoom/ZMusic.git
synced 2025-04-19 07:21:21 +00:00
Fix compilation on NetBSD
This commit is contained in:
parent
fbb3a50e9a
commit
c0d658875f
2 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,7 @@ endif()
|
|||
if( WIN32 )
|
||||
add_definitions( -D_WIN32 )
|
||||
set( SYS_LIBS winmm )
|
||||
else()
|
||||
elseif(NOT ${CMAKE_SYSTEM_NAME} MATCHES "^NetBSD$")
|
||||
set( SYS_LIBS dl )
|
||||
endif()
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <string.h>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <cstdarg>
|
||||
|
||||
#if defined _WIN32 && !defined _WINDOWS_ // only define this if windows.h is not included.
|
||||
// I'd rather not include Windows.h for just this. This header is not supposed to pollute everything it touches.
|
||||
|
|
Loading…
Reference in a new issue