Grabbed latest version from cgminer repo
Merge pull request #1 from varnav/0.1

Latest version of util.c from cgminer repo