Mercurial > hg > octave-nkf
diff liboctave/tempname.c @ 1350:5f63d83dd694
[project @ 1995-09-05 07:37:59 by jwe]
author | jwe |
---|---|
date | Tue, 05 Sep 1995 07:47:12 +0000 |
parents | 611d403c7f3d |
children | 4d941ba99862 |
line wrap: on
line diff
--- a/liboctave/tempname.c +++ b/liboctave/tempname.c @@ -22,14 +22,17 @@ #ifndef HAVE_TEMPNAM -#ifdef HAVE_UNISTD_H -#include <unistd.h> -#endif #include <errno.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> + +#ifdef HAVE_UNISTD_H +#include <sys/types.h> +#include <unistd.h> +#endif + #include <fcntl.h> #include "statdefs.h"