[rabbitmq-discuss] erlang-rfc4627-wrapper and httpd.hrl

Matwey V. Kornilov matwey.kornilov at gmail.com
Sat Mar 31 18:37:15 BST 2012


Hi,

rfc4627_jsonrpc_inets.erl includes httpd.hrl in a smart manner. At the same 
time (at least in my R15 erlang) src/http_server/httpd.hrl does only one 
thing:

-ifndef(src_httpd_hrl).
-define(src_httpd_hrl, true).

-include_lib("inets/include/httpd.hrl").

-endif. % -ifdef(src_httpd_hrl).


To include inets/include/httpd.hrl instead of inets/src/httpd.hrl would 
simplify building from source and remove build-dependence on packages like 
erlang-src.




More information about the rabbitmq-discuss mailing list