From ab46e934226f49deeddcc2279d23b312a4e028f3 Mon Sep 17 00:00:00 2001 From: armatusmiles <akurotych@gmail.com> Date: Mon, 14 Jan 2019 19:00:11 +0700 Subject: [PATCH] [+] Include guards to unix files --- core/unix/dap_process_manager.h | 2 ++ core/unix/dap_process_memory.h | 2 ++ core/unix/linux/dap_network_monitor.h | 2 ++ 3 files changed, 6 insertions(+) diff --git a/core/unix/dap_process_manager.h b/core/unix/dap_process_manager.h index 9ac46bf..374c12a 100755 --- a/core/unix/dap_process_manager.h +++ b/core/unix/dap_process_manager.h @@ -22,6 +22,8 @@ along with any DAP based project. If not, see <http://www.gnu.org/licenses/>. */ +#pragma once + #ifdef __cplusplus extern "C" { #endif diff --git a/core/unix/dap_process_memory.h b/core/unix/dap_process_memory.h index f436768..debeb98 100644 --- a/core/unix/dap_process_memory.h +++ b/core/unix/dap_process_memory.h @@ -22,6 +22,8 @@ along with any DAP based project. If not, see <http://www.gnu.org/licenses/>. */ +#pragma once + #ifdef __cplusplus extern "C" { #endif diff --git a/core/unix/linux/dap_network_monitor.h b/core/unix/linux/dap_network_monitor.h index a8b04ca..bc1133a 100644 --- a/core/unix/linux/dap_network_monitor.h +++ b/core/unix/linux/dap_network_monitor.h @@ -26,6 +26,8 @@ extern "C" { #endif +#pragma once + #include <stdint.h> #include <stdbool.h> #include <net/if.h> -- GitLab