summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2010-10-24 12:53:35 +0200
committerPaolo Bonzini <bonzini@gnu.org>2010-11-14 17:05:26 +0100
commitb8fa0e106fe976912044d703c8e90d22e4d4c3d0 (patch)
treec7f33fe2fce92eb49e82d7f3b565bbf5519bf015 /src/system.h
parent46dba4e75aafb76970160769b42d3f06f7eb3de5 (diff)
downloadgrep-b8fa0e106fe976912044d703c8e90d22e4d4c3d0.tar.gz
grep: add include guards
* src/system.h: Add multiple inclusion guards. * src/grep.h: Likewise.
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index a0d3c4ae..74298837 100644
--- a/src/system.h
+++ b/src/system.h
@@ -16,6 +16,9 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
+#ifndef GREP_SYSTEM_H
+#define GREP_SYSTEM_H 1
+
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
@@ -54,3 +57,4 @@ enum { EXIT_TROUBLE = 2 };
#endif
#include "unlocked-io.h"
+#endif