add portability fixes from #1720
-rw-r--r-- 79 .gitignore
-rw-r--r-- 179 BSDmakefile
-rw-r--r-- 2922 Config.in
-rw-r--r-- 17992 LICENSE
-rw-r--r-- 4554 Makefile
-rw-r--r-- 910 README
drwxr-xr-x - docs
drwxr-xr-x - include
drwxr-xr-x - package
-rw-r--r-- 3509 rules.mk
drwxr-xr-x - scripts
drwxr-xr-x - target
drwxr-xr-x - toolchain
drwxr-xr-x - tools