include winsock2.h on windows in libsmf for htons/l etc.
This commit is contained in:
parent
8d1f88f87b
commit
2b9f50ffc7
@ -39,7 +39,11 @@
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <errno.h>
|
||||
#ifdef WIN32
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
#include "smf.h"
|
||||
#include "smf_private.h"
|
||||
|
||||
|
@ -37,7 +37,11 @@
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <errno.h>
|
||||
#ifdef WIN32
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
#include <stdint.h>
|
||||
#include "smf.h"
|
||||
#include "smf_private.h"
|
||||
|
@ -40,7 +40,11 @@
|
||||
#include <math.h>
|
||||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
#ifdef WIN32
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
#include "smf.h"
|
||||
#include "smf_private.h"
|
||||
|
||||
|
@ -39,7 +39,11 @@
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <errno.h>
|
||||
#ifdef WIN32
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
#include "smf.h"
|
||||
#include "smf_private.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user