From 2943db4cc926c9e1148f0375f4b37641de36981f Mon Sep 17 00:00:00 2001 From: Benny Siegert Date: Sat, 26 Sep 2015 22:36:44 +0200 Subject: Fix NetBSD build. This preprocessor define should be replaced by a test in the configure script, instead of a hardcoded list of operating systems. --- src/pam_radius_auth.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pam_radius_auth.h b/src/pam_radius_auth.h index 4594eef..95f262c 100644 --- a/src/pam_radius_auth.h +++ b/src/pam_radius_auth.h @@ -84,7 +84,7 @@ typedef struct radius_conf_t { *************************************************************************/ #ifndef CONST -# if defined(__sun) || defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) +# if defined(__sun) || defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) /* * On older versions of Solaris, you may have to change this to: * #define CONST -- cgit v1.2.3