From 5745db9b4c99cf9d31c440974f26e383088f59d8 Mon Sep 17 00:00:00 2001 From: rickyes Date: Mon, 6 Apr 2020 20:25:14 +0800 Subject: [PATCH] src: Fix duplicate definition warnings --- src/node_stat_watcher.cc | 1 - src/node_stat_watcher.h | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/node_stat_watcher.cc b/src/node_stat_watcher.cc index af23affc412935..02ee502bd7e8e3 100644 --- a/src/node_stat_watcher.cc +++ b/src/node_stat_watcher.cc @@ -23,7 +23,6 @@ #include "node_stat_watcher.h" #include "async_wrap-inl.h" #include "env-inl.h" -#include "node_file-inl.h" #include "util-inl.h" #include diff --git a/src/node_stat_watcher.h b/src/node_stat_watcher.h index 81a8903018624b..8fbb805b445992 100644 --- a/src/node_stat_watcher.h +++ b/src/node_stat_watcher.h @@ -26,13 +26,11 @@ #include "node.h" #include "handle_wrap.h" +#include "node_file-inl.h" #include "uv.h" #include "v8.h" namespace node { -namespace fs { -struct BindingData; -} class Environment;