changeset 13582:f98c559a1682

[gaim-migrate @ 15964] Use standard headers instead of defining getenv and errno ourselves. This makes Gaim compile for someone... I forget, since I wrote this long ago when SF CVS was down. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 04 Apr 2006 23:46:24 +0000
parents a33208cc6247
children 69264c313521
files src/protocols/zephyr/ZLocations.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/zephyr/ZLocations.c	Tue Apr 04 23:45:23 2006 +0000
+++ b/src/protocols/zephyr/ZLocations.c	Tue Apr 04 23:46:24 2006 +0000
@@ -15,8 +15,8 @@
 #include <pwd.h>
 #endif
 
-extern char *getenv();
-extern int errno;
+#include <stdlib.h>
+#include <errno.h>
 
 Code_t ZSetLocation(exposure)
     char *exposure;