convert 8 bit variables
use internal data types
include mutex
avoid conflicts with Linux' bitmap_set
add missing includes
when getting rid of STRLEN, we also got rid of new_path
define MIN/MAX
forgot about an occurence of WSTRCHR
fix includes
silence warning