Add sys/select.h for musl

Reviewed-by: Nathan Owens ndowens04@gmail.com
macos/master
Nathan Owens 5 years ago
parent 1e581b6b49
commit 9c3b8f4acc
  1. 4
      meson.build
  2. 4
      vtest/vtest_server.c

@ -96,6 +96,10 @@ if cc.has_header('sys/eventfd.h')
conf_data.set('HAVE_EVENTFD_H', 1)
endif
if cc.has_header('sys/select.h')
conf_data.set('HAVE_SYS_SELECT_H', 1)
endif
debug_enabled = get_option('debug')
if debug_enabled

@ -39,7 +39,9 @@
#include "vtest.h"
#include "vtest_protocol.h"
#include "virglrenderer.h"
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
struct vtest_program

Loading…
Cancel
Save