Mainly adding fd_set related header missing

This commit is contained in:
David Carlier 2017-06-11 11:52:55 +01:00 committed by Thomas BERNARD
parent 5923d5de6f
commit e56b0587a7
4 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,8 @@
/* for struct sockaddr_storage */ /* for struct sockaddr_storage */
#include <netinet/in.h> #include <netinet/in.h>
/* for fd_set */
#include <sys/select.h>
#include "declspec.h" #include "declspec.h"
#include "upnpreplyparse.h" #include "upnpreplyparse.h"

View File

@ -7,6 +7,8 @@
#ifndef ASYNCSENDTO_H_INCLUDED #ifndef ASYNCSENDTO_H_INCLUDED
#define ASYNCSENDTO_H_INCLUDED #define ASYNCSENDTO_H_INCLUDED
/* for fd_set */
#include <sys/select.h>
/* sendto_schedule() : see sendto(2) /* sendto_schedule() : see sendto(2)
* schedule sendto() call after delay (milliseconds) */ * schedule sendto() call after delay (milliseconds) */

View File

@ -23,6 +23,7 @@
#if defined(__OpenBSD__) #if defined(__OpenBSD__)
#include <sys/queue.h> #include <sys/queue.h>
#include <sys/select.h>
#include <kvm.h> #include <kvm.h>
#include <fcntl.h> #include <fcntl.h>
#include <nlist.h> #include <nlist.h>

View File

@ -8,6 +8,8 @@
#ifndef UPNPEVENTS_H_INCLUDED #ifndef UPNPEVENTS_H_INCLUDED
#define UPNPEVENTS_H_INCLUDED #define UPNPEVENTS_H_INCLUDED
/* for fd_set */
#include <sys/select.h>
#include "config.h" #include "config.h"
#ifdef ENABLE_EVENTS #ifdef ENABLE_EVENTS