diff options
author | Benny Siegert <bsiegert@gmail.com> | 2015-09-26 22:36:44 +0200 |
---|---|---|
committer | Benny Siegert <bsiegert@gmail.com> | 2015-09-26 22:36:44 +0200 |
commit | 2943db4cc926c9e1148f0375f4b37641de36981f (patch) | |
tree | f8da748e895b1bae12204e5bdeedd201e3dc72bd | |
parent | 7f0335fc81f3920e0da62596682133a6b456fa14 (diff) | |
download | libpam-radius-auth-2943db4cc926c9e1148f0375f4b37641de36981f.tar.gz libpam-radius-auth-2943db4cc926c9e1148f0375f4b37641de36981f.zip |
Fix NetBSD build.
This preprocessor define should be replaced by a test in the configure
script, instead of a hardcoded list of operating systems.
-rw-r--r-- | src/pam_radius_auth.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |