Add missing P_tmpdir declaration for freebsd
Merge pull request #883 from yebblies/tmpdir

[DDMD] Add missing P_tmpdir declaration for freebsd