Browse Source

small FreeBSD patch from Erik dCL

git-svn-id: svn+ssh://jackaudio.org/trunk/jack@2947 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.115.6
paul 17 years ago
parent
commit
f235681089
2 changed files with 10 additions and 1 deletions
  1. +1
    -1
      configure.ac
  2. +9
    -0
      tools/netsource.c

+ 1
- 1
configure.ac View File

@@ -146,7 +146,7 @@ if test "x$JACK_USE_MACH_THREADS" != "x"; then
fi

# headers
AC_CHECK_HEADERS(string.h strings.h)
AC_CHECK_HEADERS(string.h strings.h alloca.h)
AC_CHECK_HEADERS(getopt.h, [], [
for d in /Developer/SDKs/MacOSX10.3.0.sdk/usr/include/ ; do
AC_CHECK_HEADERS($d/getopt.h, [], [CFLAGS="$CFLAGS -I$d"])


+ 9
- 0
tools/netsource.c View File

@@ -25,6 +25,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* @brief This client connects a remote slave JACK to a local JACK server assumed to be the master
*/

#include "config.h"
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
@@ -34,7 +37,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include <netinet/in.h>
#include <netdb.h>

/* These two required by FreeBSD. */
#include <sys/types.h>
#include <sys/socket.h>

#if HAVE_ALLOCA_H
#include <alloca.h>
#endif

#include <jack/jack.h>



Loading…
Cancel
Save