Commits

Anonymous committed b14ee82

Changes to work with include_lib mechanism

  • Participants
  • Parent commits 584117b
  • Branches bug21410

Comments (0)

Files changed (3)

 PACKAGE=rabbitmq-bql
 DEPS=rabbitmq-server rabbitmq-erlang-client erlang-rfc4627
+DEP_APPS=amqp_client
 GENERATED_SOURCES=command_lexer command_parser
 EXTRA_PACKAGE_DIRS=scripts
 TEST_APPS=amqp_client rabbitmq_bql

File src/bql_amqp_rpc_server.erl

 -export([start_link/0]).
 -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]).
 
--include("rabbit.hrl").
--include("rabbit_framing.hrl").
+-include_lib("rabbit_common/include/rabbit.hrl").
+-include_lib("rabbit_common/include/rabbit_framing.hrl").
 
 -record(state, { channel }).
 

File src/bql_applicator.erl

 
 -export([apply_commands/1]).
 
--include("rabbit.hrl").
--include("rabbit_framing.hrl").
+-include_lib("rabbit_common/include/rabbit.hrl").
+-include_lib("rabbit_common/include/rabbit_framing.hrl").
 
 -define(RPC_TIMEOUT, 30000).