accepted ticket [1859455]: <sys/types.h> should be included explicitly
[mod_auth_kerb.cvs/.git] / spnegokrb5 / spnegokrb5_locl.h
index 57fa9b2..5b20bc7 100644 (file)
@@ -1,7 +1,19 @@
 #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>