diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | compat/mkstemp.c | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2009-05-12 Donal K. Fellows <dkf@users.sf.net> + + * compat/mkstemp.c: Add more headers to make this file build on IRIX + 6.5. Thanks to Larry McVoy for this. + 2009-05-08 Donal K. Fellows <dkf@users.sf.net> * generic/tclOO.c (TclNRNewObjectInstance): [Bug 2414858]: Add a diff --git a/compat/mkstemp.c b/compat/mkstemp.c index 8adc11b..f86bde2 100644 --- a/compat/mkstemp.c +++ b/compat/mkstemp.c @@ -8,9 +8,11 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: mkstemp.c,v 1.1 2009/01/02 16:43:50 dkf Exp $ + * RCS: @(#) $Id: mkstemp.c,v 1.2 2009/05/12 20:26:04 dkf Exp $ */ +#include <errno.h> +#include <fcntl.h> #include <stdlib.h> #include <unistd.h> |