130-implicit_memset_decl_fix.patch 246 B

123456789101112
  1. --- a/includes.h
  2. +++ b/includes.h
  3. @@ -60,6 +60,9 @@
  4. /*
  5. *-*-nto-qnx needs these headers for strcasecmp and LASTLOG_FILE respectively
  6. */
  7. +#ifdef HAVE_STRING_H
  8. +# include <string.h>
  9. +#endif
  10. #ifdef HAVE_STRINGS_H
  11. # include <strings.h>
  12. #endif