fixed missing error codes for windows

This commit is contained in:
Frank Morgner
2013-05-20 20:13:55 +02:00
parent 6150572cab
commit fd76395b81
2 changed files with 10 additions and 0 deletions

View File

@@ -70,6 +70,11 @@
# include "config.h"
#endif // HAVE_CONFIG_H
#ifdef _WIN32
// ECONNABORTED
# include "contrib/windows.h"
#endif // _WIN32
#include <errno.h>
#include <signal.h>
#include <stdlib.h>

View File

@@ -58,6 +58,11 @@
# include "config.h"
#endif // HAVE_CONFIG_H
#ifdef _WIN32
// ENOTSUP
# include "contrib/windows.h"
#endif // _WIN32
#include <sys/types.h>
#include <sys/stat.h>