define uint32_t on windows

This commit is contained in:
Jan Kaluza 2012-03-06 11:19:53 +01:00
parent 346e24d182
commit f744728ba0
2 changed files with 2 additions and 0 deletions

View file

@ -25,6 +25,7 @@
#ifndef WIN32
#include <arpa/inet.h>
#define uint32_t u_long
#else
#include <winsock2.h>
#endif

View file

@ -48,6 +48,7 @@
#ifdef _WIN32
#include "windows.h"
#define uint32_t u_long
#else
#include "sys/wait.h"
#include "sys/signal.h"