applied patch from Morten Welinder, closing bug #306901 on compiling

* globals.c: applied patch from Morten Welinder, closing bug #306901
  on compiling subsets of the library
Daniel
2 files changed