Erlang Mailing Lists

Author Message

<  Erlang patches mailing list  ~  erl_error.h include missing from ei_connect.h

vances at motivity.ca
Posted: Tue Jul 08, 2003 11:42 pm Reply with quote
Guest
I'm having to include erl_error.h in my code to pull in the
definitions for erl_err_ret() et. el. however I otherwise
only need to include ei_connect.h. Looking at ei_connect.h
I see that erl_error.h is included only if using VxWorks.

I believe it should always be included.

-Vance

Vance Shipley
Motivity Telecom Inc.
+1 519 240 3684
vances_at_motivity.ca



*** ei_connect.h.dist Tue Jul 8 19:35:56 2003
--- ei_connect.h Tue Jul 8 19:41:17 2003
***************
*** 53,63 ****
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <timers.h>

/* #include "netdb.h" */ /* local file */
- #include "erl_error.h"

#define getpid() taskIdSelf()
extern int h_errno;

#else /* some other unix */
--- 53,62 ----
***************
*** 76,85 ****
--- 75,85 ----

#ifdef HAVE_CONFIG_H
# include "config.h" /* FIXME: Autoconf Info prefers <config.h> */
#endif

+ #include "erl_error.h"
#include "ei.h"

#define SMALLBUF 2048

#define DEFBUF_SIZ 100



Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum