Fix sys/time requirement in upnp.c

This commit is contained in:
Ron Pedde 2007-08-30 05:36:06 +00:00
parent 153e874bef
commit 9d222abd4b
2 changed files with 11 additions and 1 deletions

View File

@ -42,8 +42,10 @@
# include <netinet/in.h>
# include <sys/select.h>
# include <sys/socket.h>
# include <sys/time.h>
# include <arpa/inet.h>
# ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
# endif
#endif
#include <sys/types.h>

View File

@ -20,6 +20,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
@ -32,6 +36,10 @@
#include <sys/types.h>
#include <unistd.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#include "conf.h"
#include "daapd.h"
#include "err.h"