Permalink
Browse files

Replaced -include with -include_lib

Fixes compilation errors when using project as rebar dependency.
  • Loading branch information...
idubrov committed Sep 24, 2011
1 parent 8507e1e commit 7511d54b2de843dc96e2f3fbc9b0812914079033
Showing with 3 additions and 4 deletions.
  1. +0 −1 rebar.config
  2. +1 −1 src/gen_icmp.erl
  3. +1 −1 src/ptun.erl
  4. +1 −1 src/tracert.erl
View
@@ -2,4 +2,3 @@
{procket, ".*", {git, "git://github.com/msantos/procket.git", "master"}},
{pkt, ".*", {git, "git://github.com/msantos/pkt.git", "master"}}
]}.
-{erl_opts, [{i, "deps/pkt/include"}]}.
View
@@ -31,7 +31,7 @@
-module(gen_icmp).
-behaviour(gen_server).
-include_lib("kernel/include/inet.hrl").
--include("pkt.hrl").
+-include_lib("pkt/include/pkt.hrl").
-define(SERVER, ?MODULE).
View
@@ -49,7 +49,7 @@
%%
-module(ptun).
--include("pkt.hrl").
+-include_lib("pkt/include/pkt.hrl").
-export([client/2, server/2]).
View
@@ -38,7 +38,7 @@
-module(tracert).
-behaviour(gen_server).
--include("pkt.hrl").
+-include_lib("pkt/include/pkt.hrl").
-export([
host/1, host/2, host/3,

0 comments on commit 7511d54

Please sign in to comment.