From f42c8cfff657fc1b8a4099bf7d2481f9ca9e0f38 Mon Sep 17 00:00:00 2001 From: James Pharaoh Date: Sun, 1 Apr 2012 08:25:37 +0200 Subject: [PATCH] fixes to compile normally --- rebar.config | 2 +- src/openid_http.erl | 2 +- src/openid_utils.erl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rebar.config b/rebar.config index 76d32fc..07251bd 100644 --- a/rebar.config +++ b/rebar.config @@ -1,3 +1,3 @@ {cover_enabled, true}. {erl_opts, [fail_on_warning, debug_info]}. -{deps, [{ibrowse, ".*", {git, "git://github.com/andrewtj/ibrowse.git", "master"}}]}. \ No newline at end of file +{deps, [{ibrowse, ".*", {git, "git://github.com/cmullaparthi/ibrowse.git", "master"}}]}. diff --git a/src/openid_http.erl b/src/openid_http.erl index 064868c..d67e935 100644 --- a/src/openid_http.erl +++ b/src/openid_http.erl @@ -1,5 +1,5 @@ -module(openid_http). --include("deps/ibrowse/src/ibrowse.hrl"). +-include_lib("ibrowse/include/ibrowse.hrl"). -export([get/1, post/3]). -define(MAX_REDIRECTS, 5). %% too generous? diff --git a/src/openid_utils.erl b/src/openid_utils.erl index 864b186..4684424 100644 --- a/src/openid_utils.erl +++ b/src/openid_utils.erl @@ -13,7 +13,7 @@ -export([normalize_id/1, normalize_http/1]). -include("openid.hrl"). --include("deps/ibrowse/src/ibrowse.hrl"). +-include_lib("ibrowse/include/ibrowse.hrl"). get_tags(Content, Tag) -> find_tags(Content, {[], Tag, none, none}).