Use the new include files UpnpIntTypes.h, UpnpStdInt.h and UpnpUniStd.h.

Trying to keep platform dependency on the headers and clean the main
code a little bit.
This commit is contained in:
Marcelo Roberto Jimenez
2010-12-18 17:08:36 -02:00
parent d6418b3e17
commit 462505ff62
12 changed files with 60 additions and 84 deletions

View File

@@ -1,3 +1,6 @@
#ifndef GENLIB_NET_UNIXUTIL_H
#define GENLIB_NET_UNIXUTIL_H
/*******************************************************************************
*
* Copyright (c) 2000-2003 Intel Corporation
@@ -29,17 +32,10 @@
*
******************************************************************************/
/* Unix-specific network utilities */
#ifndef GENLIB_NET_UNIXUTIL_H
#define GENLIB_NET_UNIXUTIL_H
#include "UpnpInet.h"
#ifdef WIN32
typedef int socklen_t;
#define EAFNOSUPPORT 97
@@ -48,9 +44,6 @@
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/wait.h>
#include <unistd.h>
#endif
#endif /* GENLIB_NET_UNIXUTIL_H */