summaryrefslogtreecommitdiff
path: root/src/keycode.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-05-15 13:06:46 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-05-15 13:06:46 +0300
commit17f575b11bf28e8fca67b4fff38f1b556cf43625 (patch)
tree43162418e0db0ea0f6b39920437c7a8825e2bae3 /src/keycode.h
parentdadac0e79f96b112947a50f37b39ad9677e870d0 (diff)
downloadminetest-17f575b11bf28e8fca67b4fff38f1b556cf43625.tar.gz
minetest-17f575b11bf28e8fca67b4fff38f1b556cf43625.tar.bz2
minetest-17f575b11bf28e8fca67b4fff38f1b556cf43625.zip
added missing #ifndef KEYCODE_HEADER to keycode.h
Diffstat (limited to 'src/keycode.h')
-rw-r--r--src/keycode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/keycode.h b/src/keycode.h
index 4201debc4..f19fe3442 100644
--- a/src/keycode.h
+++ b/src/keycode.h
@@ -17,6 +17,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef KEYCODE_HEADER
+#define KEYCODE_HEADER
+
#include "common_irrlicht.h"
irr::EKEY_CODE keyname_to_keycode(const char *name);
@@ -24,4 +27,5 @@ irr::EKEY_CODE keyname_to_keycode(const char *name);
// Key configuration getter
irr::EKEY_CODE getKeySetting(const char *settingname);
+#endif