Fixes for OpenBSD port

This commit is contained in:
Bryan Everly 2015-09-10 21:31:13 -04:00
parent 4626f17cf2
commit cb533b2a04
2 changed files with 6 additions and 1 deletions

View File

@ -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")

View File

@ -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>