* gdb.base/fileio.c: Include unistd.h as required for lseek(2).
This commit is contained in:
parent
59ef2528a2
commit
4d074752ec
|
@ -1,3 +1,7 @@
|
||||||
|
2005-01-10 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
|
* gdb.base/fileio.c: Include unistd.h as required for lseek(2).
|
||||||
|
|
||||||
2005-01-07 Andrew Cagney <cagney@gnu.org>
|
2005-01-07 Andrew Cagney <cagney@gnu.org>
|
||||||
|
|
||||||
* configure.ac: Rename configure.in, require autoconf 2.59.
|
* configure.ac: Rename configure.in, require autoconf 2.59.
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
#include <unistd.h>
|
||||||
/* TESTS :
|
/* TESTS :
|
||||||
* - open(const char *pathname, int flags, mode_t mode);
|
* - open(const char *pathname, int flags, mode_t mode);
|
||||||
1) Attempt to create file that already exists - EEXIST
|
1) Attempt to create file that already exists - EEXIST
|
||||||
|
@ -55,7 +56,6 @@ Not applicable.
|
||||||
|
|
||||||
system (const char * string);
|
system (const char * string);
|
||||||
1) Invalid string/command. - returns 127. */
|
1) Invalid string/command. - returns 127. */
|
||||||
|
|
||||||
static const char *strerrno (int err);
|
static const char *strerrno (int err);
|
||||||
|
|
||||||
#define FILENAME "foo.fileio.test"
|
#define FILENAME "foo.fileio.test"
|
||||||
|
|
Loading…
Reference in New Issue