Merge pull request #27 from MaddTheSane/patch-3

Declare HAVE_UNISTD_H for FreeBSD and Linux
This commit is contained in:
sarah-walker-pcem 2021-06-10 19:28:27 +01:00 committed by GitHub
commit 95a24e5ba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,6 +160,7 @@ case "$host" in
[echo "You need to install the OpenAL library."
exit -1])
build_linux="yes"
CFLAGS="$CFLAGS -DHAVE_UNISTD_H"
;;
*-*-freebsd*)
CFLAGS="$CFLAGS -I/usr/local/include"
@ -172,6 +173,7 @@ case "$host" in
[echo "You need to install the OpenAL library."
exit -1])
build_other="yes"
CFLAGS="$CFLAGS -DHAVE_UNISTD_H"
;;
*)
AC_CHECK_LIB([GL], [glGetError], [], \