projects
/
mod_auth_kerb.cvs
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
accepted ticket [1859455]: <sys/types.h> should be included explicitly
[mod_auth_kerb.cvs/.git]
/
spnegokrb5
/
spnegokrb5_locl.h
diff --git
a/spnegokrb5/spnegokrb5_locl.h
b/spnegokrb5/spnegokrb5_locl.h
index
57fa9b2
..
5b20bc7
100644
(file)
--- a/
spnegokrb5/spnegokrb5_locl.h
+++ b/
spnegokrb5/spnegokrb5_locl.h
@@
-1,7
+1,19
@@
#include <stdlib.h>
#include <errno.h>
#include <stdlib.h>
#include <errno.h>
+#include <string.h>
-#include <gssapi.h>
+#include "config.h"
+
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
+#ifdef HEIMDAL
+# include <gssapi.h>
+#else
+# include <gssapi/gssapi.h>
+# include <gssapi/gssapi_generic.h>
+#endif
#include <spnego_asn1.h>
#include <spnegokrb5.h>
#include <der.h>
#include <spnego_asn1.h>
#include <spnegokrb5.h>
#include <der.h>