summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/genfields.sh
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-02-26 03:39:50 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-02-26 03:39:50 +0000
commitc1f7845ccf239efa3c9320d13710d58baa4ed196 (patch)
treef201096be0d31f330907f9e803272befb3040ccc /sbin/isakmpd/genfields.sh
parentfd42393167e943cc0c5c7f0dcc46352c2a366689 (diff)
Merge from the Ericsson repository
| revision 1.4 | date: 1999/02/25 11:38:57; author: niklas; state: Exp; lines: +4 -2 | include sysdep.h everywhere | ----------------------------
Diffstat (limited to 'sbin/isakmpd/genfields.sh')
-rw-r--r--sbin/isakmpd/genfields.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/sbin/isakmpd/genfields.sh b/sbin/isakmpd/genfields.sh
index d0b724d6f49..9ee8cb9728d 100644
--- a/sbin/isakmpd/genfields.sh
+++ b/sbin/isakmpd/genfields.sh
@@ -1,5 +1,5 @@
-# $OpenBSD: genfields.sh,v 1.2 1998/11/17 11:10:11 niklas Exp $
-# $EOM: genfields.sh,v 1.3 1998/08/02 20:25:02 niklas Exp $
+# $OpenBSD: genfields.sh,v 1.3 1999/02/26 03:39:49 niklas Exp $
+# $EOM: genfields.sh,v 1.4 1999/02/25 11:38:57 niklas Exp $
#
# Copyright (c) 1998 Niklas Hallqvist. All rights reserved.
@@ -54,6 +54,7 @@ BEGIN {
print "#ifndef _'$upcased_name'_H_"
print "#define _'$upcased_name'_H_\n"
+ print "#include \"sysdep.h\"\n"
print "#include \"field.h\"\n"
print "struct constant_map;\n"
@@ -129,11 +130,12 @@ $locase_function
"'
BEGIN {
print "/* DO NOT EDIT-- this file is automatically generated. */\n"
+ print "#include \"sysdep.h\"\n"
print "#include \"constants.h\""
print "#include \"field.h\""
print "#include \"'$base'.h\""
print "#include \"isakmp_num.h\""
- print "#include \"ipsec_num.h\""
+ print "#include \"ipsec_num.h\"\n"
}
/^#/ {