]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - input.h
DP code cleanup, stage one - all headers that can be protected by ifdef
[xonotic/darkplaces.git] / input.h
diff --git a/input.h b/input.h
index a44a5eec615afe0ac3ea112922f5d4d82c78c6ef..9bff65e8c92558e435ed16906ef56bc0fb57acf6 100644 (file)
--- a/input.h
+++ b/input.h
@@ -19,6 +19,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 // input.h -- external (non-keyboard) input devices
 
+#ifndef INPUT_H
+#define INPUT_H
+
 extern cvar_t in_pitch_min;
 extern cvar_t in_pitch_max;
 
@@ -40,3 +43,5 @@ void IN_Mouse(usercmd_t *cmd, float mx, float my);
 void IN_ClearStates (void);
 // restores all button and position states to defaults
 
+#endif
+