Skip to content
Snippets Groups Projects
Commit 2c962736 authored by Lev Walkin's avatar Lev Walkin
Browse files

win32 compat

parent 3d731dc4
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment