You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+@PRAGMA_SYSTEM_HEADER@
+
#if defined __need_sig_atomic_t || defined __need_sigset_t
/* Special invocation convention inside glibc header files. */
extern int sigaction (int, const struct sigaction *restrict,
struct sigaction *restrict);
-#endif /* !@HAVE_SIGACTION@ */
+#elif !@HAVE_STRUCT_SIGACTION_SA_SIGACTION@
+
+# define sa_sigaction sa_handler
+
+#endif /* !@HAVE_SIGACTION@, !@HAVE_STRUCT_SIGACTION_SA_SIGACTION@ */
#ifdef __cplusplus