diff -ur support_in_VxWorks6.3/curl-7.19.6-20090601/include/curl/curl.h support_in_VxWorks6.3/curl-7.19.6-20090601-my/include/curl/curl.h
--- support_in_VxWorks6.3/curl-7.19.6-20090601/include/curl/curl.h	2009-05-30 04:00:06.000000000 +0300
+++ support_in_VxWorks6.3/curl-7.19.6-20090601-my/include/curl/curl.h	2009-06-01 16:38:55.342439000 +0300
@@ -78,7 +78,7 @@
 #ifndef _WIN32_WCE
 #include <sys/socket.h>
 #endif
-#if !defined(WIN32) && !defined(__WATCOMC__)
+#if !defined(WIN32) && !defined(__WATCOMC__)  && !defined(__VXWORKS__)
 #include <sys/time.h>
 #endif
 #include <sys/types.h>
Only in support_in_VxWorks6.3/curl-7.19.6-20090601-my/lib: Makefile.vxworks
Only in support_in_VxWorks6.3/curl-7.19.6-20090601-my/lib: config-vxworks.h
diff -ur support_in_VxWorks6.3/curl-7.19.6-20090601/lib/file.c support_in_VxWorks6.3/curl-7.19.6-20090601-my/lib/file.c
--- support_in_VxWorks6.3/curl-7.19.6-20090601/lib/file.c	2009-04-22 04:00:08.000000000 +0300
+++ support_in_VxWorks6.3/curl-7.19.6-20090601-my/lib/file.c	2009-06-01 16:38:25.801237000 +0300
@@ -254,8 +254,14 @@
   fd = open(actual_path, O_RDONLY | O_BINARY);  /* no CR/LF translation! */
   file->path = actual_path;
 #else
+
+#ifdef HAVE_OPEN_3
+  fd = open(real_path, O_RDONLY, 0);
+#else
   fd = open(real_path, O_RDONLY);
+#endif
   file->path = real_path;
+
 #endif
   file->freepath = real_path; /* free this when done */
 
Only in support_in_VxWorks6.3/curl-7.19.6-20090601-my/lib: setup-vxworks.h
diff -ur support_in_VxWorks6.3/curl-7.19.6-20090601/lib/setup.h support_in_VxWorks6.3/curl-7.19.6-20090601-my/lib/setup.h
--- support_in_VxWorks6.3/curl-7.19.6-20090601/lib/setup.h	2009-05-02 04:00:06.000000000 +0300
+++ support_in_VxWorks6.3/curl-7.19.6-20090601-my/lib/setup.h	2009-06-03 19:31:17.478796500 +0300
@@ -68,6 +68,10 @@
 #  include "config-tpf.h"
 #endif
 
+#ifdef __VXWORKS__
+#  include "config-vxworks.h"
+#endif
+
 #endif /* HAVE_CONFIG_H */
 
 /* ================================================================ */
@@ -165,6 +169,8 @@
 
 #ifdef __OS400__
 #  include "setup-os400.h"
+#elif defined(__VXWORKS__)
+#  include "setup-vxworks.h"
 #endif
 
 /*
diff -ur support_in_VxWorks6.3/curl-7.19.6-20090601/lib/strerror.c support_in_VxWorks6.3/curl-7.19.6-20090601-my/lib/strerror.c
--- support_in_VxWorks6.3/curl-7.19.6-20090601/lib/strerror.c	2008-09-13 04:00:10.000000000 +0300
+++ support_in_VxWorks6.3/curl-7.19.6-20090601-my/lib/strerror.c	2009-06-03 20:05:00.911447800 +0300
@@ -24,7 +24,7 @@
 #include "setup.h"
 
 #ifdef HAVE_STRERROR_R
-#  if (!defined(HAVE_POSIX_STRERROR_R) && !defined(HAVE_GLIBC_STRERROR_R)) || \
+#  if (!defined(HAVE_POSIX_STRERROR_R) && !defined(HAVE_GLIBC_STRERROR_R) && !defined(__VXWORKS__)) || \
        (defined(HAVE_POSIX_STRERROR_R) &&  defined(HAVE_GLIBC_STRERROR_R))
 #    error "strerror_r MUST be either POSIX-style or glibc-style"
 #  endif
@@ -641,6 +641,14 @@
     else
       snprintf(buf, max, "Unknown error %d", err);
   }
+#elif defined(HAVE_STRERROR_R) && defined(__VXWORKS__)
+ {
+    char buffer[256]; /*Buffer should be at least MAXERRSTR_SIZE (150) defined in rtsold.h*/
+    if  (OK == strerror_r(err, buffer))
+      strncpy(buf, buffer, max);
+    else
+      snprintf(buf, max, "Unknown error %d", err);
+ }
 #else
   {
     char *msg = strerror(err);
