verbs.h is intended to be included directly by applications. Since
_errno.h is a linux header file abstraction, move its use internal
to libibverbs. This avoids issues if the user includes errno.h
directly.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
INCLUDES = ..\include;..\common;..\..\dat\include;\
..\..\dat\udat\windows;..\udapl\windows;\
- ..\..\..\..\inc;..\..\..\..\inc\user;
+ ..\..\..\..\inc;..\..\..\..\inc\user;..\..\..\..\inc\user\linux;
DAPL_OPTS = -DEXPORT_DAPL_SYMBOLS -D_VENDOR_IBAL_ -DDAPL_MERGE_CM_DTO\
-DDAT_EXTENSIONS
\r
#define ntohll _byteswap_uint64\r
#define htonll _byteswap_uint64\r
-\r
-#ifndef EADDRNOTAVAIL\r
-#define EADDRNOTAVAIL WSAEADDRNOTAVAIL\r
-#endif\r
#include <stddef.h>
#include <complib/cl_types.h>
+#include <_errno.h>
#pragma warning ( push, 3 )
#include <winioctl.h>
#include <stdio.h>
udat_sr_parser.c \
udat_sources.c
-INCLUDES=windows;..\common;..\include;
+INCLUDES=windows;..\common;..\include;..\..\..\..\inc\user\linux;
RCOPTIONS=/I..\..\..\..\inc;
# FIX ME!!! XXX specifically the 4113 warning prior to testing.
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
+#include <_errno.h>
#ifndef STATIC
#define STATIC static
\r
#include <windows.h>\r
#include <rdma\winverbs.h>\r
-#include <_errno.h>\r
#include <comp_channel.h>\r
\r
#ifdef __cplusplus\r
#ifndef IB_VERBS_H\r
#define IB_VERBS_H\r
\r
+#include <_errno.h>\r
+\r
extern COMP_MANAGER comp_mgr;\r
extern HANDLE heap;\r
\r