mirror of https://gerrit.osmocom.org/asn1c
win32 compat
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@84 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
c519ffd338
commit
97ed74f2af
|
@ -3,7 +3,6 @@
|
|||
* Redistribution and modifications are permitted subject to BSD license.
|
||||
*/
|
||||
#include <constr_CHOICE.h>
|
||||
#include <netinet/in.h> /* for ntohl */
|
||||
#include <assert.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -3,9 +3,14 @@
|
|||
* Redistribution and modifications are permitted subject to BSD license.
|
||||
*/
|
||||
#include <constr_SET.h>
|
||||
#include <netinet/in.h> /* for ntohl() */
|
||||
#include <assert.h> /* for assert() */
|
||||
|
||||
#ifndef WIN32
|
||||
#include <netinet/in.h> /* for ntohl() */
|
||||
#else
|
||||
#include <winsock2.h> /* for ntohl() */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Number of bytes left for this structure.
|
||||
* (ctx->left) indicates the number of bytes _transferred_ for the structure.
|
||||
|
|
Loading…
Reference in New Issue