Browse Source

more netjack driver compilation tweaks

git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3138 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.116.0
paul 17 years ago
parent
commit
71a512249f
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      drivers/netjack/netjack_packet.c

+ 2
- 4
drivers/netjack/netjack_packet.c View File

@@ -46,9 +46,6 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

// for ppoll
#define __USE_GNU
#include <poll.h>

#include <errno.h>
@@ -328,11 +325,12 @@ netjack_poll_deadline (int sockfd, jack_time_t deadline)
{
struct pollfd fds;
int i, poll_err = 0;
sigset_t sigmask, rsigmask;
sigset_t sigmask;
struct sigaction action;
#if HAVE_PPOLL
struct timespec timeout_spec = { 0, 0 };
#else
sigset_t rsigmask;
int timeout;
#endif



Loading…
Cancel
Save