[gaim-migrate @ 15964]

Tue, 04 Apr 2006 23:46:24 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Tue, 04 Apr 2006 23:46:24 +0000
changeset 13583
29c0a756c086
parent 13582
54ac10e3c3cc
child 13584
f82188ed84f6

[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.

src/protocols/zephyr/ZLocations.c file | annotate | diff | comparison | revisions
--- 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;

mercurial