* mount.cc: add stdlib.h for exit
* umount.cc: ditto * strace.cc: add #define for alloca
This commit is contained in:
parent
d51d968a80
commit
b6e259b12f
@ -1,3 +1,9 @@
|
|||||||
|
2000-06-05 DJ Delorie <dj@cygnus.com>
|
||||||
|
|
||||||
|
* mount.cc: add stdlib.h for exit
|
||||||
|
* umount.cc: ditto
|
||||||
|
* strace.cc: add #define for alloca
|
||||||
|
|
||||||
Fri May 20 0:01:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
Fri May 20 0:01:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* regtool.cc (find_key): Add parameter `access'.
|
* regtool.cc (find_key): Add parameter `access'.
|
||||||
|
@ -14,6 +14,7 @@ details. */
|
|||||||
#include <mntent.h>
|
#include <mntent.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <sys/cygwin.h>
|
#include <sys/cygwin.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifdef errno
|
#ifdef errno
|
||||||
#undef errno
|
#undef errno
|
||||||
|
@ -14,6 +14,9 @@
|
|||||||
is built using -mno-cygwin as is intended. */
|
is built using -mno-cygwin as is intended. */
|
||||||
int _impure_ptr;
|
int _impure_ptr;
|
||||||
|
|
||||||
|
/* we *know* we're being built with GCC */
|
||||||
|
#define alloca __builtin_alloca
|
||||||
|
|
||||||
static const char *pgm;
|
static const char *pgm;
|
||||||
static int forkdebug = 0;
|
static int forkdebug = 0;
|
||||||
static int numerror = 1;
|
static int numerror = 1;
|
||||||
|
@ -12,6 +12,7 @@ details. */
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
#include <mntent.h>
|
#include <mntent.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
static void remove_all_mounts ();
|
static void remove_all_mounts ();
|
||||||
static void remove_all_automounts ();
|
static void remove_all_automounts ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user