Skip to content

Commit

Permalink
Mainly adding fd_set related header missing
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen authored and miniupnp committed Jun 12, 2017
1 parent 5923d5d commit e56b058
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions miniupnpc-async/miniupnpc-async.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

/* for struct sockaddr_storage */
#include <netinet/in.h>
/* for fd_set */
#include <sys/select.h>

#include "declspec.h"
#include "upnpreplyparse.h"
Expand Down
2 changes: 2 additions & 0 deletions miniupnpd/asyncsendto.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

#ifndef ASYNCSENDTO_H_INCLUDED
#define ASYNCSENDTO_H_INCLUDED
/* for fd_set */
#include <sys/select.h>

/* sendto_schedule() : see sendto(2)
* schedule sendto() call after delay (milliseconds) */
Expand Down
1 change: 1 addition & 0 deletions miniupnpd/portinuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#if defined(__OpenBSD__)
#include <sys/queue.h>
#include <sys/select.h>
#include <kvm.h>
#include <fcntl.h>
#include <nlist.h>
Expand Down
2 changes: 2 additions & 0 deletions miniupnpd/upnpevents.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#ifndef UPNPEVENTS_H_INCLUDED
#define UPNPEVENTS_H_INCLUDED

/* for fd_set */
#include <sys/select.h>
#include "config.h"

#ifdef ENABLE_EVENTS
Expand Down

0 comments on commit e56b058

Please sign in to comment.