[PATCH 3/5] include/ttyutils.h: add include guards

Dave Reisner
2012-03-18T03:36:40Z

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
---
include/ttyutils.h | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/include/ttyutils.h b/include/ttyutils.h
index 949b72a..f638aa0 100644
--- a/include/ttyutils.h
+++ b/include/ttyutils.h
@@ -1,3 +1,5 @@
+#ifndef UTIL_LINUX_TTYUTILS_H
+#define UTIL_LINUX_TTYUTILS_H

#include <termios.h>

@@ -71,3 +73,5 @@ static inline void reset_virtual_console(struct termios *tp, int flags)
tp->c_cc[VLNEXT] = CLNEXT;
tp->c_cc[VEOL2] = _POSIX_VDISABLE;
}
+
+#endif /* UTIL_LINUX_TTYUTILS_H */
--
1.7.9.4