diff --git a/tests/test-async-sig.c b/tests/test-async-sig.c index eaa9ce90..5e906902 100644 --- a/tests/test-async-sig.c +++ b/tests/test-async-sig.c @@ -23,6 +23,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* Check whether basic unwinding truly is async-signal safe. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include #include #include #include @@ -32,7 +37,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #define UNW_LOCAL_ONLY #include -#include "config.h" static const int nerrors_max = 100; @@ -182,4 +186,5 @@ main (int argc, char **argv) exit (-1); } } + return (0); }