patch-src_regex_c 398 B

1234567891011121314
  1. $OpenBSD: patch-src_regex_c,v 1.1.1.1 2014/09/19 22:23:29 bcallah Exp $
  2. --- src/regex.c.orig Fri Sep 19 18:12:30 2014
  3. +++ src/regex.c Fri Sep 19 18:12:59 2014
  4. @@ -46,6 +46,9 @@
  5. # include <sys/types.h>
  6. #endif
  7. +/* for write(2) */
  8. +#include <unistd.h>
  9. +
  10. /* Whether to use ISO C Amendment 1 wide char functions.
  11. Those should not be used for Emacs since it uses its own. */
  12. #if defined _LIBC