aboutsummaryrefslogtreecommitdiffstats
path: root/Source/lib/asn1/oid.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/lib/asn1/oid.pl')
-rw-r--r--Source/lib/asn1/oid.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/lib/asn1/oid.pl b/Source/lib/asn1/oid.pl
index 52ac8eae0..a3725e57d 100644
--- a/Source/lib/asn1/oid.pl
+++ b/Source/lib/asn1/oid.pl
@@ -30,6 +30,8 @@ print OID_H "/* Object identifiers (OIDs) used by FreeS/WAN\n",
" * ", $automatic, "\n",
" * ", $warning, "\n",
" */\n\n",
+ "#ifndef OID_H_\n",
+ "#define OID_H_\n\n",
"typedef struct {\n",
" u_char octet;\n",
" u_int next;\n",
@@ -73,6 +75,8 @@ while ($line = <SRC>)
$counter++;
}
+print OID_H "\n#endif /* OID_H_ */\n";
+
close SRC;
close OID_H;