From eef57dddf4518e378551f2d016760ba2a0007ec2 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 18 Jun 2012 02:35:14 +0200 Subject: [PATCH] core: use proper #include directives --- src/cares_wrap.cc | 6 +++--- src/fs_event_wrap.cc | 4 ++-- src/handle_wrap.cc | 4 ++-- src/node.cc | 36 ++++++++++++++++++------------------ src/node.h | 6 +++--- src/node_buffer.cc | 6 +++--- src/node_buffer.h | 6 +++--- src/node_constants.cc | 6 +++--- src/node_constants.h | 4 ++-- src/node_crypto.cc | 10 +++++----- src/node_crypto.h | 8 ++++---- src/node_dtrace.cc | 2 +- src/node_dtrace.h | 4 ++-- src/node_file.cc | 2 +- src/node_file.h | 4 ++-- src/node_http_parser.cc | 8 ++++---- src/node_http_parser.h | 2 +- src/node_io_watcher.cc | 6 +++--- src/node_io_watcher.h | 4 ++-- src/node_javascript.cc | 2 +- src/node_javascript.h | 2 +- src/node_main.cc | 2 +- src/node_object_wrap.h | 4 ++-- src/node_os.cc | 8 ++++---- src/node_os.h | 4 ++-- src/node_script.cc | 4 ++-- src/node_script.h | 8 ++++---- src/node_signal_watcher.cc | 2 +- src/node_signal_watcher.h | 6 +++--- src/node_stat_watcher.cc | 2 +- src/node_stat_watcher.h | 4 ++-- src/node_string.h | 2 +- src/pipe_wrap.cc | 12 ++++++------ src/pipe_wrap.h | 2 +- src/platform.h | 2 +- src/platform_darwin.cc | 2 +- src/platform_freebsd.cc | 2 +- src/platform_linux.cc | 2 +- src/platform_openbsd.cc | 2 +- src/platform_win32.cc | 6 +++--- src/process_wrap.cc | 6 +++--- src/stream_wrap.cc | 12 ++++++------ src/stream_wrap.h | 6 +++--- src/tcp_wrap.cc | 12 ++++++------ src/tcp_wrap.h | 2 +- src/timer_wrap.cc | 4 ++-- src/tty_wrap.cc | 10 +++++----- src/udp_wrap.cc | 8 ++++---- src/v8_typed_array.cc | 2 +- src/v8_typed_array.h | 2 +- 50 files changed, 136 insertions(+), 136 deletions(-) diff --git a/src/cares_wrap.cc b/src/cares_wrap.cc index a881c25b07..c356daf724 100644 --- a/src/cares_wrap.cc +++ b/src/cares_wrap.cc @@ -20,9 +20,9 @@ // USE OR OTHER DEALINGS IN THE SOFTWARE. #include -#include -#include -#include +#include "node.h" +#include "req_wrap.h" +#include "uv.h" #include diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc index 48cdabc00e..f0b5e9c603 100644 --- a/src/fs_event_wrap.cc +++ b/src/fs_event_wrap.cc @@ -19,8 +19,8 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include -#include +#include "node.h" +#include "handle_wrap.h" #include diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc index eb6713edad..d9621b4c4b 100644 --- a/src/handle_wrap.cc +++ b/src/handle_wrap.cc @@ -19,8 +19,8 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include -#include +#include "node.h" +#include "handle_wrap.h" namespace node { diff --git a/src/node.cc b/src/node.cc index 31594bb5a5..66465d20ec 100644 --- a/src/node.cc +++ b/src/node.cc @@ -19,13 +19,13 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include +#include "node.h" -#include +#include "uv.h" -#include +#include "v8-debug.h" #ifdef HAVE_DTRACE -# include +# include "node_dtrace.h" #endif #include @@ -57,7 +57,7 @@ typedef int mode_t; #include #if defined(__MINGW32__) || defined(_MSC_VER) -# include /* winapi_perror() */ +# include "platform_win32.h" /* winapi_perror() */ #endif #ifdef __POSIX__ @@ -66,25 +66,25 @@ typedef int mode_t; #endif #include "platform.h" -#include +#include "node_buffer.h" #ifdef __POSIX__ -# include +# include "node_io_watcher.h" #endif -#include -#include +#include "node_file.h" +#include "node_http_parser.h" #ifdef __POSIX__ -# include -# include +# include "node_signal_watcher.h" +# include "node_stat_watcher.h" #endif -#include -#include -#include -#include +#include "node_constants.h" +#include "node_javascript.h" +#include "node_version.h" +#include "node_string.h" #if HAVE_OPENSSL -# include +# include "node_crypto.h" #endif -#include -#include +#include "node_script.h" +#include "v8_typed_array.h" using namespace v8; diff --git a/src/node.h b/src/node.h index 3692060263..0262062035 100644 --- a/src/node.h +++ b/src/node.h @@ -58,13 +58,13 @@ # define SIGKILL 9 #endif -#include -#include +#include "uv.h" +#include "v8.h" #include /* struct stat */ #include #include -#include +#include "node_object_wrap.h" #if defined(_MSC_VER) #undef interface diff --git a/src/node_buffer.cc b/src/node_buffer.cc index 51e5423e5e..a7fddbf11f 100644 --- a/src/node_buffer.cc +++ b/src/node_buffer.cc @@ -20,10 +20,10 @@ // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include -#include +#include "node.h" +#include "node_buffer.h" -#include +#include "v8.h" #include #include // malloc, free diff --git a/src/node_buffer.h b/src/node_buffer.h index ef7cf4fd83..ade62b765a 100644 --- a/src/node_buffer.h +++ b/src/node_buffer.h @@ -22,9 +22,9 @@ #ifndef NODE_BUFFER_H_ #define NODE_BUFFER_H_ -#include -#include -#include +#include "node.h" +#include "node_object_wrap.h" +#include "v8.h" #include namespace node { diff --git a/src/node_constants.cc b/src/node_constants.cc index e924f9ed14..34c5d894fc 100644 --- a/src/node_constants.cc +++ b/src/node_constants.cc @@ -19,9 +19,9 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include +#include "node_constants.h" -#include +#include "uv.h" #include #if !defined(_MSC_VER) @@ -33,7 +33,7 @@ #include #if defined(__MINGW32__) || defined(_MSC_VER) -# include +# include "platform_win32.h" #endif #if HAVE_OPENSSL diff --git a/src/node_constants.h b/src/node_constants.h index ac7dce00f6..c75f40abf7 100644 --- a/src/node_constants.h +++ b/src/node_constants.h @@ -22,8 +22,8 @@ #ifndef SRC_CONSTANTS_H_ #define SRC_CONSTANTS_H_ -#include -#include +#include "node.h" +#include "v8.h" namespace node { void DefineConstants(v8::Handle target); diff --git a/src/node_crypto.cc b/src/node_crypto.cc index b2858f5088..440019811f 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -19,12 +19,12 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include -#include +#include "node_crypto.h" +#include "v8.h" -#include -#include -#include +#include "node.h" +#include "node_buffer.h" +#include "node_root_certs.h" #include #ifdef _MSC_VER diff --git a/src/node_crypto.h b/src/node_crypto.h index 6fa3de1df2..1ee23c8a74 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -22,10 +22,10 @@ #ifndef SRC_NODE_CRYPTO_H_ #define SRC_NODE_CRYPTO_H_ -#include +#include "node.h" -#include -#include +#include "node_object_wrap.h" +#include "v8.h" #include #include @@ -38,7 +38,7 @@ #include #ifdef OPENSSL_NPN_NEGOTIATED -#include +#include "node_buffer.h" #endif #define EVP_F_EVP_DECRYPTFINAL 101 diff --git a/src/node_dtrace.cc b/src/node_dtrace.cc index fc82015922..431a4ab319 100644 --- a/src/node_dtrace.cc +++ b/src/node_dtrace.cc @@ -19,7 +19,7 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include +#include "node_dtrace.h" #include #ifdef HAVE_DTRACE diff --git a/src/node_dtrace.h b/src/node_dtrace.h index f10b26783f..5374ab60c0 100644 --- a/src/node_dtrace.h +++ b/src/node_dtrace.h @@ -22,8 +22,8 @@ #ifndef NODE_DTRACE_H_ #define NODE_DTRACE_H_ -#include -#include +#include "node.h" +#include "v8.h" extern "C" { diff --git a/src/node_file.cc b/src/node_file.cc index 0c0555e7e2..befe346f20 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -37,7 +37,7 @@ #if defined(__MINGW32__) || defined(_MSC_VER) # include -# include +# include "platform_win32.h" #endif namespace node { diff --git a/src/node_file.h b/src/node_file.h index e98b115d40..5757e732b5 100644 --- a/src/node_file.h +++ b/src/node_file.h @@ -22,8 +22,8 @@ #ifndef SRC_FILE_H_ #define SRC_FILE_H_ -#include -#include +#include "node.h" +#include "v8.h" namespace node { diff --git a/src/node_http_parser.cc b/src/node_http_parser.cc index bc3da82b20..7e78790d08 100644 --- a/src/node_http_parser.cc +++ b/src/node_http_parser.cc @@ -19,11 +19,11 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include +#include "node_http_parser.h" -#include -#include -#include +#include "v8.h" +#include "node.h" +#include "node_buffer.h" #include diff --git a/src/node_http_parser.h b/src/node_http_parser.h index 456a000831..e4f30130f6 100644 --- a/src/node_http_parser.h +++ b/src/node_http_parser.h @@ -22,7 +22,7 @@ #ifndef NODE_HTTP_PARSER #define NODE_HTTP_PARSER -#include +#include "v8.h" namespace node { diff --git a/src/node_io_watcher.cc b/src/node_io_watcher.cc index 4854a8fa9a..3d1ab51fa2 100644 --- a/src/node_io_watcher.cc +++ b/src/node_io_watcher.cc @@ -19,10 +19,10 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include +#include "node_io_watcher.h" -#include -#include +#include "node.h" +#include "v8.h" #include diff --git a/src/node_io_watcher.h b/src/node_io_watcher.h index 81014feb39..d14289c867 100644 --- a/src/node_io_watcher.h +++ b/src/node_io_watcher.h @@ -22,8 +22,8 @@ #ifndef NODE_IO_H_ #define NODE_IO_H_ -#include -#include +#include "node_object_wrap.h" +#include "uv-private/ev.h" namespace node { diff --git a/src/node_javascript.cc b/src/node_javascript.cc index 2aef03501b..49695c0824 100644 --- a/src/node_javascript.cc +++ b/src/node_javascript.cc @@ -19,7 +19,7 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include +#include "v8.h" #include "node.h" #include "node_natives.h" #include "node_string.h" diff --git a/src/node_javascript.h b/src/node_javascript.h index 58e5010d65..2cfa979547 100644 --- a/src/node_javascript.h +++ b/src/node_javascript.h @@ -19,7 +19,7 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include +#include "v8.h" namespace node { diff --git a/src/node_main.cc b/src/node_main.cc index dba8b69203..6471551d2c 100644 --- a/src/node_main.cc +++ b/src/node_main.cc @@ -19,7 +19,7 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include +#include "node.h" #ifdef _WIN32 int wmain(int argc, wchar_t *wargv[]) { diff --git a/src/node_object_wrap.h b/src/node_object_wrap.h index 0ead639b64..311f3f0f42 100644 --- a/src/node_object_wrap.h +++ b/src/node_object_wrap.h @@ -22,8 +22,8 @@ #ifndef object_wrap_h #define object_wrap_h -#include -#include +#include "node.h" +#include "v8.h" #include namespace node { diff --git a/src/node_os.cc b/src/node_os.cc index 287467531d..910d5ddd66 100644 --- a/src/node_os.cc +++ b/src/node_os.cc @@ -20,11 +20,11 @@ // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include -#include +#include "node.h" +#include "node_os.h" #include "platform.h" -#include +#include "v8.h" #include #include @@ -32,7 +32,7 @@ #ifdef __MINGW32__ # include -# include +# include "platform_win32.h" #endif #ifdef __POSIX__ diff --git a/src/node_os.h b/src/node_os.h index 596d268e70..25ff71eee3 100644 --- a/src/node_os.h +++ b/src/node_os.h @@ -22,8 +22,8 @@ #ifndef node_os_h #define node_os_h -#include -#include +#include "node.h" +#include "v8.h" namespace node { diff --git a/src/node_script.cc b/src/node_script.cc index 9fe5d85f95..3f57bc4478 100644 --- a/src/node_script.cc +++ b/src/node_script.cc @@ -19,8 +19,8 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include -#include +#include "node.h" +#include "node_script.h" #include namespace node { diff --git a/src/node_script.h b/src/node_script.h index 5074abf2d3..047829f539 100644 --- a/src/node_script.h +++ b/src/node_script.h @@ -22,10 +22,10 @@ #ifndef node_script_h #define node_script_h -#include -#include -#include -#include +#include "node.h" +#include "node_object_wrap.h" +#include "v8.h" +#include "uv.h" namespace node { diff --git a/src/node_signal_watcher.cc b/src/node_signal_watcher.cc index 1027b3efd1..a0b57e0d20 100644 --- a/src/node_signal_watcher.cc +++ b/src/node_signal_watcher.cc @@ -19,7 +19,7 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include +#include "node_signal_watcher.h" #include namespace node { diff --git a/src/node_signal_watcher.h b/src/node_signal_watcher.h index 63fe1c7966..f46022bd33 100644 --- a/src/node_signal_watcher.h +++ b/src/node_signal_watcher.h @@ -22,9 +22,9 @@ #ifndef NODE_SIGNAL_WATCHER_H_ #define NODE_SIGNAL_WATCHER_H_ -#include -#include -#include +#include "node.h" +#include "v8.h" +#include "uv-private/ev.h" namespace node { diff --git a/src/node_stat_watcher.cc b/src/node_stat_watcher.cc index fd4d68a5cc..5b06966b96 100644 --- a/src/node_stat_watcher.cc +++ b/src/node_stat_watcher.cc @@ -19,7 +19,7 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include +#include "node_stat_watcher.h" #include #include diff --git a/src/node_stat_watcher.h b/src/node_stat_watcher.h index b220f20b2c..2b2d1331de 100644 --- a/src/node_stat_watcher.h +++ b/src/node_stat_watcher.h @@ -22,8 +22,8 @@ #ifndef NODE_STAT_WATCHER_H_ #define NODE_STAT_WATCHER_H_ -#include -#include +#include "node.h" +#include "uv-private/ev.h" namespace node { diff --git a/src/node_string.h b/src/node_string.h index 5625f22dbe..b4a0a9b86a 100644 --- a/src/node_string.h +++ b/src/node_string.h @@ -22,7 +22,7 @@ #ifndef SRC_NODE_STRING_H_ #define SRC_NODE_STRING_H_ -#include +#include "v8.h" namespace node { diff --git a/src/pipe_wrap.cc b/src/pipe_wrap.cc index b062b40f4f..4cd950e028 100644 --- a/src/pipe_wrap.cc +++ b/src/pipe_wrap.cc @@ -19,12 +19,12 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include -#include -#include -#include -#include -#include +#include "node.h" +#include "node_buffer.h" +#include "req_wrap.h" +#include "handle_wrap.h" +#include "stream_wrap.h" +#include "pipe_wrap.h" #define UNWRAP \ assert(!args.Holder().IsEmpty()); \ diff --git a/src/pipe_wrap.h b/src/pipe_wrap.h index f4c9291ae7..12682d7e2d 100644 --- a/src/pipe_wrap.h +++ b/src/pipe_wrap.h @@ -21,7 +21,7 @@ #ifndef PIPE_WRAP_H_ #define PIPE_WRAP_H_ -#include +#include "stream_wrap.h" namespace node { diff --git a/src/platform.h b/src/platform.h index e89ebfaa6a..e40381935e 100644 --- a/src/platform.h +++ b/src/platform.h @@ -22,7 +22,7 @@ #ifndef NODE_PLATFORM_H_ #define NODE_PLATFORM_H_ -#include +#include "v8.h" namespace node { diff --git a/src/platform_darwin.cc b/src/platform_darwin.cc index a196669eb7..d4804386f5 100644 --- a/src/platform_darwin.cc +++ b/src/platform_darwin.cc @@ -22,7 +22,7 @@ #include "node.h" #include "platform.h" -#include +#include "v8.h" #include #include diff --git a/src/platform_freebsd.cc b/src/platform_freebsd.cc index 5b0e01e88e..e1cb6f73c9 100644 --- a/src/platform_freebsd.cc +++ b/src/platform_freebsd.cc @@ -22,7 +22,7 @@ #include "node.h" #include "platform.h" -#include +#include "v8.h" #include #include diff --git a/src/platform_linux.cc b/src/platform_linux.cc index 287ed3e306..63e33b235d 100644 --- a/src/platform_linux.cc +++ b/src/platform_linux.cc @@ -22,7 +22,7 @@ #include "node.h" #include "platform.h" -#include +#include "v8.h" #include // for MAXPATHLEN #include // getpagesize, sysconf diff --git a/src/platform_openbsd.cc b/src/platform_openbsd.cc index 9399ad7acd..1bc40658b7 100644 --- a/src/platform_openbsd.cc +++ b/src/platform_openbsd.cc @@ -22,7 +22,7 @@ #include "node.h" #include "platform.h" -#include +#include "v8.h" #include #include diff --git a/src/platform_win32.cc b/src/platform_win32.cc index f43c243370..fdfe8a6d72 100644 --- a/src/platform_win32.cc +++ b/src/platform_win32.cc @@ -20,10 +20,10 @@ // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include +#include "node.h" #include "platform.h" -#include +#include "v8.h" #include #include @@ -32,7 +32,7 @@ #include // getpagesize #endif -#include +#include "platform_win32.h" #include namespace node { diff --git a/src/process_wrap.cc b/src/process_wrap.cc index 4c9eb42c01..721c2d6ee4 100644 --- a/src/process_wrap.cc +++ b/src/process_wrap.cc @@ -19,9 +19,9 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include -#include -#include +#include "node.h" +#include "handle_wrap.h" +#include "pipe_wrap.h" #include #include diff --git a/src/stream_wrap.cc b/src/stream_wrap.cc index b363049793..7e53ff8124 100644 --- a/src/stream_wrap.cc +++ b/src/stream_wrap.cc @@ -19,12 +19,12 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include -#include -#include -#include -#include -#include +#include "node.h" +#include "node_buffer.h" +#include "handle_wrap.h" +#include "stream_wrap.h" +#include "tcp_wrap.h" +#include "req_wrap.h" namespace node { diff --git a/src/stream_wrap.h b/src/stream_wrap.h index 045420991c..278fda7827 100644 --- a/src/stream_wrap.h +++ b/src/stream_wrap.h @@ -22,9 +22,9 @@ #ifndef STREAM_WRAP_H_ #define STREAM_WRAP_H_ -#include -#include -#include +#include "v8.h" +#include "node.h" +#include "handle_wrap.h" namespace node { diff --git a/src/tcp_wrap.cc b/src/tcp_wrap.cc index 14e6d3ed66..3e5e491463 100644 --- a/src/tcp_wrap.cc +++ b/src/tcp_wrap.cc @@ -19,12 +19,12 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include -#include -#include -#include -#include -#include +#include "node.h" +#include "node_buffer.h" +#include "req_wrap.h" +#include "handle_wrap.h" +#include "stream_wrap.h" +#include "tcp_wrap.h" #include diff --git a/src/tcp_wrap.h b/src/tcp_wrap.h index 98ebb50458..26e061f483 100644 --- a/src/tcp_wrap.h +++ b/src/tcp_wrap.h @@ -21,7 +21,7 @@ #ifndef TCP_WRAP_H_ #define TCP_WRAP_H_ -#include +#include "stream_wrap.h" namespace node { diff --git a/src/timer_wrap.cc b/src/timer_wrap.cc index 470c2d6b98..273f8265f4 100644 --- a/src/timer_wrap.cc +++ b/src/timer_wrap.cc @@ -19,8 +19,8 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include -#include +#include "node.h" +#include "handle_wrap.h" #define UNWRAP \ assert(!args.Holder().IsEmpty()); \ diff --git a/src/tty_wrap.cc b/src/tty_wrap.cc index 486c2a70b4..8647ea0b9c 100644 --- a/src/tty_wrap.cc +++ b/src/tty_wrap.cc @@ -19,11 +19,11 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include -#include -#include -#include -#include +#include "node.h" +#include "node_buffer.h" +#include "req_wrap.h" +#include "handle_wrap.h" +#include "stream_wrap.h" namespace node { diff --git a/src/udp_wrap.cc b/src/udp_wrap.cc index 07d8d3143c..1a854a4ffb 100644 --- a/src/udp_wrap.cc +++ b/src/udp_wrap.cc @@ -19,11 +19,11 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -#include -#include +#include "node.h" +#include "node_buffer.h" -#include -#include +#include "req_wrap.h" +#include "handle_wrap.h" #include diff --git a/src/v8_typed_array.cc b/src/v8_typed_array.cc index b9b55acf51..e0db76b1a3 100644 --- a/src/v8_typed_array.cc +++ b/src/v8_typed_array.cc @@ -22,7 +22,7 @@ #include // calloc, etc #include // memmove -#include +#include "v8.h" #include "v8_typed_array.h" diff --git a/src/v8_typed_array.h b/src/v8_typed_array.h index a95b29a50b..dc518ccdd7 100644 --- a/src/v8_typed_array.h +++ b/src/v8_typed_array.h @@ -22,7 +22,7 @@ #ifndef V8_TYPED_ARRAY_H_ #define V8_TYPED_ARRAY_H_ -#include +#include "v8.h" namespace v8_typed_array {