]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
The linux compatability header file _errno.h is moving out of verbs.h.
authorArlin Davis <arlin.r.davis@intel.com>
Mon, 12 Jul 2010 22:57:34 +0000 (15:57 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Mon, 12 Jul 2010 22:57:34 +0000 (15:57 -0700)
Include _errno.h in the windows osd header files, similar to how
errno.h is included in the linux osd header files.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
dapl/ibal/SOURCES
dapl/openib_cma/windows/openib_osd.h
dapl/udapl/windows/dapl_osd.h
dat/udat/SOURCES
dat/udat/windows/dat_osd.h

index b8c9932a622f43479d51f4df74453e07fe5e8059..bb1d7925bac50cffeb2dc80a52e2713b9651bd0e 100644 (file)
@@ -28,7 +28,7 @@ SOURCES=udapl.rc                      \
 
 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
index 3290081c949018a1a7f7196809e83beed06c0ade..ac392b0fce24ea32760844908c1cc296393f4ea0 100644 (file)
@@ -4,7 +4,3 @@
 \r
 #define ntohll _byteswap_uint64\r
 #define htonll _byteswap_uint64\r
-\r
-#ifndef EADDRNOTAVAIL\r
-#define EADDRNOTAVAIL  WSAEADDRNOTAVAIL\r
-#endif\r
index 5fb9363aab7c090981a76bf44285741ec2492ffa..4b9ecbf875253859cc8529c0c39c3b9624a6b559 100644 (file)
@@ -50,6 +50,7 @@
 
 #include <stddef.h>
 #include <complib/cl_types.h>
+#include <_errno.h>
 #pragma warning ( push, 3 )
 #include <winioctl.h>
 #include <stdio.h>
index 7d37f652c19faeb04bc514d3c6d0065013739f5d..4cddf721c607c76a3bda3989358a4193ccecc144 100644 (file)
@@ -19,7 +19,7 @@ SOURCES=udat.rc                       \
        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.
index 6941e465c23948306f84d73cf40324fd23307d2b..e661ba32b8cea36354122bf8f89e3802b2236606 100644 (file)
@@ -57,6 +57,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdarg.h>
+#include <_errno.h>
 
 #ifndef STATIC
 #define STATIC static