Skip to content

Commit ff4a9d3

Browse files
committed
core: use proper #include directives
1 parent 8c02f9b commit ff4a9d3

43 files changed

Lines changed: 129 additions & 129 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/cares_wrap.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
// USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

2222
#include <assert.h>
23-
#include <node.h>
24-
#include <req_wrap.h>
25-
#include <uv.h>
23+
#include "node.h"
24+
#include "req_wrap.h"
25+
#include "uv.h"
2626

2727
#include <string.h>
2828

src/fs_event_wrap.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
2020
// USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

22-
#include <node.h>
23-
#include <handle_wrap.h>
22+
#include "node.h"
23+
#include "handle_wrap.h"
2424

2525
#include <stdlib.h>
2626

src/handle_wrap.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
2020
// USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

22-
#include <node.h>
23-
#include <handle_wrap.h>
22+
#include "node.h"
23+
#include "handle_wrap.h"
2424

2525
namespace node {
2626

src/node.cc

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
2020
// USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

22-
#include <node.h>
22+
#include "node.h"
2323

24-
#include <uv.h>
24+
#include "uv.h"
2525

26-
#include <v8-debug.h>
26+
#include "v8-debug.h"
2727
#ifdef HAVE_DTRACE
28-
# include <node_dtrace.h>
28+
# include "node_dtrace.h"
2929
#endif
3030

3131
#include <locale.h>
@@ -61,25 +61,25 @@ typedef int mode_t;
6161
# include <grp.h> /* getgrnam() */
6262
#endif
6363

64-
#include <node_buffer.h>
64+
#include "node_buffer.h"
6565
#ifdef __POSIX__
66-
# include <node_io_watcher.h>
66+
# include "node_io_watcher.h"
6767
#endif
68-
#include <node_file.h>
69-
#include <node_http_parser.h>
68+
#include "node_file.h"
69+
#include "node_http_parser.h"
7070
#ifdef __POSIX__
71-
# include <node_signal_watcher.h>
72-
# include <node_stat_watcher.h>
71+
# include "node_signal_watcher.h"
72+
# include "node_stat_watcher.h"
7373
#endif
74-
#include <node_constants.h>
75-
#include <node_javascript.h>
76-
#include <node_version.h>
77-
#include <node_string.h>
74+
#include "node_constants.h"
75+
#include "node_javascript.h"
76+
#include "node_version.h"
77+
#include "node_string.h"
7878
#if HAVE_OPENSSL
79-
# include <node_crypto.h>
79+
# include "node_crypto.h"
8080
#endif
81-
#include <node_script.h>
82-
#include <v8_typed_array.h>
81+
#include "node_script.h"
82+
#include "v8_typed_array.h"
8383

8484
using namespace v8;
8585

src/node.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@
5858
# define SIGKILL 9
5959
#endif
6060

61-
#include <uv.h>
62-
#include <v8.h>
61+
#include "uv.h"
62+
#include "v8.h"
6363
#include <sys/types.h> /* struct stat */
6464
#include <sys/stat.h>
6565
#include <assert.h>
6666

67-
#include <node_object_wrap.h>
67+
#include "node_object_wrap.h"
6868

6969
#if NODE_WANT_INTERNALS
7070
# include "node_internals.h"

src/node_buffer.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
// USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

2222

23-
#include <node.h>
24-
#include <node_buffer.h>
23+
#include "node.h"
24+
#include "node_buffer.h"
2525

26-
#include <v8.h>
26+
#include "v8.h"
2727

2828
#include <assert.h>
2929
#include <stdlib.h> // malloc, free

src/node_buffer.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
#ifndef NODE_BUFFER_H_
2323
#define NODE_BUFFER_H_
2424

25-
#include <node.h>
26-
#include <node_object_wrap.h>
27-
#include <v8.h>
25+
#include "node.h"
26+
#include "node_object_wrap.h"
27+
#include "v8.h"
2828
#include <assert.h>
2929

3030
namespace node {

src/node_constants.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
2020
// USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

22-
#include <node_constants.h>
22+
#include "node_constants.h"
2323

24-
#include <uv.h>
24+
#include "uv.h"
2525

2626
#include <errno.h>
2727
#if !defined(_MSC_VER)

src/node_constants.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
#ifndef SRC_CONSTANTS_H_
2323
#define SRC_CONSTANTS_H_
2424

25-
#include <node.h>
26-
#include <v8.h>
25+
#include "node.h"
26+
#include "v8.h"
2727

2828
namespace node {
2929
void DefineConstants(v8::Handle<v8::Object> target);

src/node_crypto.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
2020
// USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

22-
#include <node_crypto.h>
23-
#include <node_crypto_groups.h>
24-
#include <v8.h>
22+
#include "node_crypto.h"
23+
#include "node_crypto_groups.h"
24+
#include "v8.h"
2525

26-
#include <node.h>
27-
#include <node_buffer.h>
28-
#include <node_root_certs.h>
26+
#include "node.h"
27+
#include "node_buffer.h"
28+
#include "node_root_certs.h"
2929

3030
#include <string.h>
3131
#ifdef _MSC_VER

0 commit comments

Comments
 (0)