Permalink
Browse files

added ifndef check around header file to handle multiple inclusions

  • Loading branch information...
1 parent 42dc8c9 commit 088b6f405163bae54f5821df5f779dcbea8fee0e Fabian Alenius committed with Richard Carlsson May 13, 2009
Showing with 10 additions and 0 deletions.
  1. +10 −0 include/erlsom.hrl
View
@@ -23,5 +23,15 @@
%%% ====================================================================
%% prefix=the prefix that will be used in the result
+
+-ifndef(_ERLSOM_HRL_).
+-define(_ERLSOM_HRL_, true).
+
+
-record(ns, {uri, prefix}).
-record(qname, {uri, localPart, prefix, mappedPrefix}).
+
+-endif.
+
+
+

0 comments on commit 088b6f4

Please sign in to comment.