summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd
diff options
context:
space:
mode:
authorsemarie <semarie@cvs.openbsd.org>2015-06-26 17:26:30 +0000
committersemarie <semarie@cvs.openbsd.org>2015-06-26 17:26:30 +0000
commit9c6818c61341b35b8d47058a12aba5e7db7951fc (patch)
tree91e73fc337bc07f42fba0e9cbd0f50512436700b /usr.sbin/httpd
parentdd94006924216ae5b26c9d85766ebeb7bf99d444 (diff)
move #include inside #ifndef PATTERNS_H
OK reyk@
Diffstat (limited to 'usr.sbin/httpd')
-rw-r--r--usr.sbin/httpd/patterns.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/httpd/patterns.h b/usr.sbin/httpd/patterns.h
index e753849eaa3..74790b542c2 100644
--- a/usr.sbin/httpd/patterns.h
+++ b/usr.sbin/httpd/patterns.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: patterns.h,v 1.1 2015/06/23 15:23:14 reyk Exp $ */
+/* $OpenBSD: patterns.h,v 1.2 2015/06/26 17:26:29 semarie Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -16,12 +16,12 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/types.h>
-#include <sys/cdefs.h>
-
#ifndef PATTERNS_H
#define PATTERNS_H
+#include <sys/types.h>
+#include <sys/cdefs.h>
+
#define MAXCAPTURES 32 /* Max no. of allowed captures in pattern */
#define MAXCCALLS 200 /* Max recusion depth in pattern matching */
#define MAXREPETITION 0xfffff /* Max for repetition items */