Merge pull request #2880 from bceverly/master

Fixes for OpenBSD port
This commit is contained in:
Hardening 2015-09-11 09:43:48 +02:00
commit 02c86dece4
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>