This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix CYGPKG_NET build


Corrects the "errno undefined" error when building network support
diff -C2 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/net/common/current/src/getproto.c ./net/common/current/src/getproto.c
*** /ecoscvs/orig/ecos/packages/net/common/current/src/getproto.c	Tue May 21 00:25:05 2002
--- ./net/common/current/src/getproto.c	Mon Jul  8 21:11:31 2002
***************
*** 32,35 ****
--- 32,36 ----
  #include <sys/param.h>
  #include <netdb.h>
+ #include <cyg/error/errno.h>
  
  static struct protoent protocols[] = {
diff -C2 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/net/common/current/src/getserv.c ./net/common/current/src/getserv.c
*** /ecoscvs/orig/ecos/packages/net/common/current/src/getserv.c	Tue May 21 00:25:05 2002
--- ./net/common/current/src/getserv.c	Mon Jul  8 21:11:19 2002
***************
*** 33,36 ****
--- 33,37 ----
  #include <sys/param.h>
  #include <netdb.h>
+ #include <cyg/error/errno.h>
  
  // These must return the port in network byte order.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]