We can't have this in config.h since that gets included too early.
#include "sudo.h"
#include "sudo_auth.h"
+/* Only OpenPAM and Linux PAM use const qualifiers. */
+#if defined(_OPENPAM) || defined(__LIBPAM_VERSION)
+# define PAM_CONST const
+#else
+# define PAM_CONST
+#endif
+
#ifndef lint
static const char rcsid[] = "$Sudo$";
#endif /* lint */
# define stat_sudoers lstat
#endif
-/* Only OpenPAM and Linux PAM use const qualifiers. */
-#if defined(_OPENPAM) || defined(__LIBPAM_VERSION)
-# define PAM_CONST const
-#else
-# define PAM_CONST
-#endif
-
#ifdef USE_EXECV
# define EXECV execv
#else
# define stat_sudoers lstat
#endif
-/* Only OpenPAM and Linux PAM use const qualifiers. */
-#if defined(_OPENPAM) || defined(__LIBPAM_VERSION)
-# define PAM_CONST const
-#else
-# define PAM_CONST
-#endif
-
#ifdef USE_EXECV
# define EXECV execv
#else