From 0438f13a4b92226901789d7d059f49f2c8f156b2 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 25 Apr 2006 06:25:35 +0000 Subject: [PATCH] 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 --- src/include/k5-err.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/include/k5-err.h b/src/include/k5-err.h index 5ba5816a7..29f41f12b 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 @@ -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 */ -- 2.26.2