Browse Source

amissl: add missing signal.h include

In some environments, signal.h is already included, but not in others
which cause compilation to fail, so explictly include it.

Closes #11478
Futaura 9 months ago
parent
commit
5084ee1b6f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/amigaos.c

+ 1 - 0
lib/amigaos.c

@@ -178,6 +178,7 @@ struct Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname,
 #endif /* CURLRES_AMIGA */
 
 #ifdef USE_AMISSL
+#include <signal.h>
 int Curl_amiga_select(int nfds, fd_set *readfds, fd_set *writefds,
                       fd_set *errorfds, struct timeval *timeout)
 {