10-fix-include-gnu-lib.patch 469 B

12345678910111213141516
  1. --- contrib/libs/libidn/lib/gl/cdefs.h (index)
  2. +++ contrib/libs/libidn/lib/gl/cdefs.h (working tree)
  3. @@ -489,13 +489,6 @@
  4. [!!sizeof (struct { int __error_if_negative: (expr) ? 2 : -1; })]
  5. #endif
  6. -/* Gnulib avoids including these, as they don't work on non-glibc or
  7. - older glibc platforms. */
  8. -#ifndef __GNULIB_CDEFS
  9. -# include <bits/wordsize.h>
  10. -# include <bits/long-double.h>
  11. -#endif
  12. -
  13. #if __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1
  14. # ifdef __REDIRECT