diff options
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/common.h | 4 | ||||
-rw-r--r-- | src/win32/registryKey.h | 6 | ||||
-rw-r--r-- | src/win32/winService.h | 6 |
3 files changed, 12 insertions, 4 deletions
diff --git a/src/win32/common.h b/src/win32/common.h index 5aaab20..eaab2a6 100644 --- a/src/win32/common.h +++ b/src/win32/common.h @@ -25,6 +25,8 @@ * distribution); if not, write to the Free Software Foundation, Inc., * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifndef ANYTUN_win32_common_h_INCLUDED +#define ANYTUN_win32_common_h_INCLUDED //=============================================== // This file is included both by OpenVPN and @@ -80,3 +82,5 @@ //========================================================= #define TAP_COMPONENT_ID "tap0901" + +#endif diff --git a/src/win32/registryKey.h b/src/win32/registryKey.h index 734bfd6..6aceba0 100644 --- a/src/win32/registryKey.h +++ b/src/win32/registryKey.h @@ -29,6 +29,8 @@ * You should have received a copy of the GNU General Public License * along with anytun. If not, see <http://www.gnu.org/licenses/>. */ +#ifndef ANYTUN_win32_registryKey_h_INCLUDED +#define ANYTUN_win32_registryKey_h_INCLUDED #include <string.h> #include <windows.h> @@ -55,4 +57,6 @@ private: HKEY key_; bool opened_; std::string name_; -};
\ No newline at end of file +}; + +#endif diff --git a/src/win32/winService.h b/src/win32/winService.h index c46d3d0..6867c7c 100644 --- a/src/win32/winService.h +++ b/src/win32/winService.h @@ -30,8 +30,8 @@ * along with anytun. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _WIN_SERVICE_H_ -#define _WIN_SERVICE_H_ +#ifndef ANYTUN_win32_winService_h_INCLUDED +#define ANYTUN_win32_winService_h_INCLUDED #ifdef WIN_SERVICE @@ -79,4 +79,4 @@ extern WinService& gWinService; #endif -#endif
\ No newline at end of file +#endif |