* mount.cc: add stdlib.h for exit
* umount.cc: ditto * strace.cc: add #define for alloca
This commit is contained in:
		| @@ -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> | ||||
|  | ||||
| 	* regtool.cc (find_key): Add parameter `access'. | ||||
|   | ||||
| @@ -14,6 +14,7 @@ details. */ | ||||
| #include <mntent.h> | ||||
| #include <windows.h> | ||||
| #include <sys/cygwin.h> | ||||
| #include <stdlib.h> | ||||
|  | ||||
| #ifdef errno | ||||
| #undef errno | ||||
|   | ||||
| @@ -14,6 +14,9 @@ | ||||
|    is built using -mno-cygwin as is intended.  */ | ||||
| int _impure_ptr; | ||||
|  | ||||
| /* we *know* we're being built with GCC */ | ||||
| #define alloca __builtin_alloca | ||||
|  | ||||
| static const char *pgm; | ||||
| static int forkdebug = 0; | ||||
| static int numerror = 1; | ||||
|   | ||||
| @@ -12,6 +12,7 @@ details. */ | ||||
| #include <string.h> | ||||
| #include <sys/mount.h> | ||||
| #include <mntent.h> | ||||
| #include <stdlib.h> | ||||
|  | ||||
| static void remove_all_mounts (); | ||||
| static void remove_all_automounts (); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user