pull up r22475 from trunk
authorTom Yu <tlyu@mit.edu>
Tue, 29 Sep 2009 01:12:42 +0000 (01:12 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 29 Sep 2009 01:12:42 +0000 (01:12 +0000)
 ------------------------------------------------------------------------
 r22475 | ghudson | 2009-07-30 15:06:37 -0400 (Thu, 30 Jul 2009) | 8 lines

 ticket: 6533
 tags: pullup
 target_version: 1.7

 Include <assert.h> in k5-platform.h, since we use assertions in some
 of the macros defined there, as well as in many source files which do
 not themselves include <assert.h>.  Report and fix by Rainer Weikusat.

ticket: 6533
version_fixed: 1.7.1
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-7@22810 dc483132-0cff-0310-8789-dd5450dbe970

src/include/k5-platform.h

index 1485a1deca0bdb52efd4ee17a0e8f834a6249545..5c7789725b652bcc8ea0617eb7792f351877da2f 100644 (file)
@@ -42,6 +42,7 @@
 #define K5_PLATFORM_H
 
 #include "autoconf.h"
+#include <assert.h>
 #include <string.h>
 #include <stdarg.h>
 #include <limits.h>