summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-04-25 06:25:35 +0000
committerKen Raeburn <raeburn@mit.edu>2006-04-25 06:25:35 +0000
commit0438f13a4b92226901789d7d059f49f2c8f156b2 (patch)
tree3e70d88507f23911d4a8eb91c408c35c13491ef2
parentffe6416514a69fda01be4e2e1059cbd1bab2327b (diff)
downloadkrb5-0438f13a4b92226901789d7d059f49f2c8f156b2.tar.gz
krb5-0438f13a4b92226901789d7d059f49f2c8f156b2.tar.xz
krb5-0438f13a4b92226901789d7d059f49f2c8f156b2.zip
Protect against multiple inclusion. Don't define macro '_' if already defined
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17959 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/include/k5-err.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/k5-err.h b/src/include/k5-err.h
index 5ba5816a71..29f41f12bc 100644
--- a/src/include/k5-err.h
+++ b/src/include/k5-err.h
@@ -27,7 +27,12 @@
* Error-message handling
*/
+#ifndef K5_ERR_H
+#define K5_ERR_H
+
+#ifndef _
#define _(X) (X)
+#endif
#if defined(_MSDOS) || defined(_WIN32)
#include <win-mac.h>
@@ -60,3 +65,5 @@ void
krb5int_clear_error (struct errinfo *ep);
void
krb5int_set_error_info_callout_fn (const char *(KRB5_CALLCONV *f)(long));
+
+#endif /* K5_ERR_H */