Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix build when dependency for another app

  • Loading branch information...
commit e3f5de1d2a5e66ff41c7558ae5da7d6d95b83b6f 1 parent 3841194
@msantos authored
View
1  rebar.config
@@ -1,4 +1,3 @@
{deps, [
{procket, ".*", {git, "git://github.com/msantos/procket.git", "master"}}
]}.
-{erl_opts, [{i, "deps/procket/include"}]}.
View
4 src/tunctl.erl
@@ -31,8 +31,8 @@
-module(tunctl).
-include("tuntap.hrl").
--include("ioctl.hrl").
--include("procket.hrl").
+-include_lib("procket/include/ioctl.hrl").
+-include_lib("procket/include/procket.hrl").
-export([
create/0, create/1, create/2,
View
4 src/tunctl_darwin.erl
@@ -31,8 +31,8 @@
-module(tunctl_darwin).
-include("tuntap.hrl").
--include("ioctl.hrl").
--include("procket.hrl").
+-include_lib("procket/include/ioctl.hrl").
+-include_lib("procket/include/procket.hrl").
-export([
create/2,
View
4 src/tunctl_freebsd.erl
@@ -34,8 +34,8 @@
%% net.link.(tun|tap).devfs_cloning must be non-zero to use.
-include("tuntap.hrl").
--include("ioctl.hrl").
--include("procket.hrl").
+-include_lib("procket/include/ioctl.hrl").
+-include_lib("procket/include/procket.hrl").
-export([
create/2,
View
4 src/tunctl_linux.erl
@@ -31,8 +31,8 @@
-module(tunctl_linux).
-include("tuntap.hrl").
--include("ioctl.hrl").
--include("procket.hrl").
+-include_lib("procket/include/ioctl.hrl").
+-include_lib("procket/include/procket.hrl").
-export([
create/2,
Please sign in to comment.
Something went wrong with that request. Please try again.