120-no-bsd-signal-in-musl.patch 266 B

1234567891011
  1. --- a/xl2tpd.c
  2. +++ b/xl2tpd.c
  3. @@ -30,7 +30,7 @@
  4. #include <errno.h>
  5. #include <unistd.h>
  6. #include <time.h>
  7. -#if (__GLIBC__ < 2)
  8. +#if defined (__GLIBC__) && (__GLIBC__ < 2)
  9. # if defined(FREEBSD) || defined(OPENBSD)
  10. # include <sys/signal.h>
  11. # elif defined(LINUX)