Add conditional inclusion for signal.h

HAVE_SIGNAL_H macro is already handled by CMAKE, but signal.h is not included here (it's required for LASH).
This commit is contained in:
carlo-bramini 2018-03-25 13:31:35 +02:00 committed by GitHub
parent 79971836ee
commit dfc95bffff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,6 +106,10 @@
#include <io.h>
#endif
#if HAVE_SIGNAL_H
#include <signal.h>
#endif
/** Integer types */
#if HAVE_STDINT_H
#include <stdint.h>