aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-12-20 13:36:27 +0100
committerSiri Hansen <[email protected]>2017-12-20 13:36:27 +0100
commitc35ea0683bf7474ac5ff5e1ac3c1ed44f35523b4 (patch)
tree5da4367841c875172323358a5e9f8b68cefb402e
parente30bbbec1c4a73f2bbf633a67ab2a9ef85845729 (diff)
downloadotp-c35ea0683bf7474ac5ff5e1ac3c1ed44f35523b4.tar.gz
otp-c35ea0683bf7474ac5ff5e1ac3c1ed44f35523b4.tar.bz2
otp-c35ea0683bf7474ac5ff5e1ac3c1ed44f35523b4.zip
[observer] Use include_lib instead of include with relative path
-rw-r--r--lib/observer/include/etop.hrl2
-rw-r--r--lib/observer/src/observer_pro_wx.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/observer/include/etop.hrl b/lib/observer/include/etop.hrl
index 002937e522..f8d370450b 100644
--- a/lib/observer/include/etop.hrl
+++ b/lib/observer/include/etop.hrl
@@ -18,4 +18,4 @@
%% %CopyrightEnd%
%%
--include("../../runtime_tools/include/observer_backend.hrl").
+-include_lib("runtime_tools/include/observer_backend.hrl").
diff --git a/lib/observer/src/observer_pro_wx.erl b/lib/observer/src/observer_pro_wx.erl
index 2e5fe0bc1a..d612e0a1c5 100644
--- a/lib/observer/src/observer_pro_wx.erl
+++ b/lib/observer/src/observer_pro_wx.erl
@@ -27,7 +27,7 @@
handle_event/2, handle_cast/2]).
-include_lib("wx/include/wx.hrl").
--include("../include/etop.hrl").
+-include("etop.hrl").
-include("observer_defs.hrl").
-include("etop_defs.hrl").