Changes testing for WIN32 to HAVE_*_H macros, changed how inline is defined on Windows
[moonshot.git] / moonshot / mech_eap / gssapiP_eap.h
index 372737a..e843696 100644 (file)
 #include <assert.h>
 #include <string.h>
 #include <errno.h>
-#if !defined(WIN32)
+#if defined(HAVE_UNISTD_H)
 #include <unistd.h>
 #endif
 #include <stdlib.h>
 #include <stdarg.h>
 #include <time.h>
-#if !defined(WIN32)
+#if defined(HAVE_SYS_PARAM_H)
 #include <sys/param.h>
 #endif