1 --- include/util.h.orig	2010-06-10 07:24:03 UTC
2 +++ include/util.h
3 @@ -4,6 +4,10 @@
4  #define nil	((void*)0)
5  #define nelem(ary) (sizeof(ary) / sizeof(*ary))
6 
7 +#ifndef EXTERN
8 +#   define EXTERN extern
9 +#endif
10 +
11  /* Types */
12  #undef uchar
13  #undef ushort
14 @@ -55,7 +59,7 @@ char*	vsxprint(const char*, va_list);
15  #define die(...) \
16  	_die(__FILE__, __LINE__, __VA_ARGS__)
17 
18 -char *argv0;
19 +EXTERN char *argv0;
20  #undef ARGBEGIN
21  #undef ARGEND
22  #undef ARGF
23