~ubuntu-branches/ubuntu/trusty/libupnp4/trusty

« back to all changes in this revision

Viewing changes to upnp/src/inc/unixutil.h

  • Committer: Bazaar Package Importer
  • Author(s): Nick Leverton
  • Date: 2010-03-08 18:26:14 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100308182614-y3j47t5ddhrza6be
Tags: 1.8.0~svn20090313-1
* ACK NMU (thanks to gregor herrmann and Stefan Potyra).
* Pull from svn, see upstream changes.gz for details
  (Closes: #492160, FTBFS on GNU/kFreeBSD, thanks to Petr Salinger).
* Update Sections and general Policy to 3.8.4
* Use debhelper 7 dh instead of dbs
* Generate and update symbols file
* Rename libs to libupnp4, libixml4 and libthreadutil4, to allow
  co-installing libupnp3 and libupnp4.
* New patch 04-string-access-functions.patch: add _strget_ accessors
  to API, to avoid remembering to call UpnpString_get_String in clients.
* New patch 05-const-tidyup.patch for a few constness fixes.
* Upstream patch 06-patch-statevar-query.patch for missing CRNL.
* New patch 07-neaten-debug.patch to improve debug readability
* New patch 08-renewals-sid.patch to fix autorenewals.
* New patch 09-update-doc.patch to generate up to date -doc package.
* New patch 10-upnpinit-ntoa.patch to replace inet_ntoa by inet_ntop.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#define GENLIB_NET_UNIXUTIL_H
38
38
 
39
39
 
 
40
#include "UpnpInet.h"
 
41
 
 
42
 
40
43
#ifdef WIN32
41
 
        #include <winsock2.h>
42
44
        typedef int socklen_t;
43
45
        #define EAFNOSUPPORT 97
44
46
#else
45
47
        #include <arpa/inet.h>
46
 
        #include <netinet/in.h>
47
48
        #include <sys/socket.h>
48
49
        #include <sys/time.h>
49
50
        #include <sys/wait.h>