* Changes to make the src/ directory compile with gcc/MSYS:   - protect inclusion of sys/wait.h with HAVE_SYS_WAIT_H   - protect POSIX-only calls with _POSIX_VERSION
* Changes to make the src/ directory compile with gcc/MSYS:
  - protect inclusion of sys/wait.h with HAVE_SYS_WAIT_H
  - protect POSIX-only calls with _POSIX_VERSION


git-svn-id: caee63afe878fe2ec7dbba394a86c9654d9110ca@454 64e312b2-a51f-0410-8e61-82d0ca0eb02a

dashaomai/check-code,svn2github/check,svn2github/check,svn2github/check,dashaomai/check-code,dashaomai/check-code,svn2github/check,svn2github/check,dashaomai/check-code