mirror of https://github.com/FreeRDP/FreeRDP
Fixes for OpenBSD port
This commit is contained in:
parent
4626f17cf2
commit
cb533b2a04
|
@ -381,6 +381,7 @@ endif(APPLE)
|
|||
|
||||
# OpenBSD
|
||||
if(OPENBSD)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -L/usr/local/lib")
|
||||
set(WITH_MANPAGES "ON")
|
||||
set(WITH_ALSA "OFF")
|
||||
set(WITH_PULSE "ON")
|
||||
|
|
|
@ -34,7 +34,11 @@
|
|||
#include <libgen.h>
|
||||
#include <limits.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/soundcard.h>
|
||||
#if defined(__OpenBSD__)
|
||||
#include <soundcard.h>
|
||||
#else
|
||||
#include <sys/soundcard.h>
|
||||
#endif
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include <freerdp/types.h>
|
||||
|
|
Loading…
Reference in New Issue