openbsd-ports/sysutils/cfengine/patches/patch-src_cflex_c
okan 57f6993fcd - update to 2.2.10
- update MASTER_SITES

ok sturm@ william@
2009-09-01 14:25:15 +00:00

13 lines
364 B
Plaintext

$OpenBSD: patch-src_cflex_c,v 1.5 2009/09/01 14:25:15 okan Exp $
--- src/cflex.c.orig Sat Apr 11 16:00:11 2009
+++ src/cflex.c Thu May 28 17:32:35 2009
@@ -4890,7 +4890,7 @@ static void yy_load_buffer_state (void)
}
#ifndef __cplusplus
-extern int isatty (int );
+#include <unistd.h>
#endif /* __cplusplus */
/* Initializes or reinitializes a buffer.