spnego/context_storage: undef sc_flags (for hpux)
authorRobert Manner <robert.manner@quest.com>
Fri, 25 Nov 2022 14:27:37 +0000 (15:27 +0100)
committerNico Williams <nico@cryptonector.com>
Tue, 7 Feb 2023 00:17:48 +0000 (18:17 -0600)
On hpux this is seems to be a define from sys/signal.h:

which renders the variable name invalid.

lib/gssapi/spnego/context_storage.c

index 170401856c9b4672ef0f6638168a084ca0da4ebb..3924bd3839531a97c43c9bf219cc17d45219718d 100644 (file)
@@ -55,6 +55,10 @@ ret_negoex_auth_mech(krb5_storage *sp, struct negoex_auth_mech **mechp);
 static krb5_error_code
 store_negoex_auth_mech(krb5_storage *sp, struct negoex_auth_mech *mech);
 
+#ifdef sc_flags
+#undef sc_flags
+#endif
+
 static uint16_t
 spnego_flags_to_int(struct spnego_flags flags);
 static struct spnego_flags