Skip to content
Browse files

Fix the fix for issue #61 (build problems with ex_uri.hrl)

  • Loading branch information...
1 parent 5d02a8e commit c777d15ef24d22bba2df90785ea2a7c6a3894680 Mihai Balea committed Sep 19, 2011
Showing with 2 additions and 7 deletions.
  1. +1 −2 rebar.config
  2. +1 −5 src/socketio_listener.erl
View
3 rebar.config
@@ -2,8 +2,7 @@
{lib_dirs, ["deps", "deps/jsx/deps/","deps/ex_uri/deps"]}.
{erl_opts, [debug_info,
{i,"deps/proper/include/"},
- {i,"deps/ex_uri/include/"},
- {d,'COMPILING_WITH_REBAR_AND_ERLC_HATES_DEPS'}
+ {i,"deps/"}
]}.
{post_hooks, [{'get-deps', "git submodule init"},
{'get-deps', "git submodule update"},
View
6 src/socketio_listener.erl
@@ -1,11 +1,7 @@
-module(socketio_listener).
-behaviour(gen_server).
--ifdef(COMPILING_WITH_REBAR_AND_ERLC_HATES_DEPS).
--include_lib("ex_uri.hrl").
--else.
--include_lib("ex_uri/deps/ex_uri.hrl").
--endif.
+-include("ex_uri/include/ex_uri.hrl").
%% API
-export([start/1, server/1]).

0 comments on commit c777d15

Please sign in to comment.
Something went wrong with that request. Please try again.