From 908e426cc1ef2187357ed8fb59edd99b8a8060c9 Mon Sep 17 00:00:00 2001 From: negativeExponent Date: Tue, 4 Aug 2020 19:49:04 +0800 Subject: Add header guards --- include/config.h | 5 +++++ include/pcnt.h | 4 ++++ 2 files changed, 9 insertions(+) (limited to 'include') diff --git a/include/config.h b/include/config.h index 362e4a4..340cc2f 100644 --- a/include/config.h +++ b/include/config.h @@ -1,2 +1,7 @@ +#ifndef __CONFIG_H__ +#define __CONFIG_H__ + #define MAXPATHLEN 256 #define PCSX_VERSION "1.9" + +#endif /* __CONFIG_H__ */ diff --git a/include/pcnt.h b/include/pcnt.h index 9ddd500..c956b41 100644 --- a/include/pcnt.h +++ b/include/pcnt.h @@ -1,3 +1,5 @@ +#ifndef __PCNT_H__ +#define __PCNT_H__ enum pcounters { PCNT_ALL, @@ -130,3 +132,5 @@ void pcnt_gte_end(int op); #define pcnt_print(fps) #endif + +#endif /* __PCNT_H__ */ -- cgit v1.2.3