100-portability.patch 398 B

12345678910111213141516171819
  1. --- a/libcap/_makenames.c
  2. +++ b/libcap/_makenames.c
  3. @@ -7,7 +7,6 @@
  4. #include <stdio.h>
  5. #include <stdlib.h>
  6. -#include <sys/capability.h>
  7. /*
  8. * #include 'sed' generated array
  9. @@ -22,7 +21,7 @@ struct {
  10. };
  11. /* this should be more than big enough (factor of three at least) */
  12. -const char *pointers[8*sizeof(struct __user_cap_data_struct)];
  13. +const char *pointers[8*12];
  14. int main(void)
  15. {