diff options
author | Reinhard Tartler <siretart@tauware.de> | 2018-02-20 21:50:22 -0500 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2018-02-20 21:50:22 -0500 |
commit | f6d7cfd710de1bf9d4f6eabab45570bc91941ee1 (patch) | |
tree | 6aed4f8606e47c6ef21c5b1d8bbf7cafa694af6e /lib/common/DebugMemLeakFinder.cpp | |
parent | c81b92946b58b90fe9679a476338e2d2dec8df67 (diff) | |
parent | f28f88e5e72ba1499409047a9d6985eb312c0232 (diff) |
Merge branch 'upstream'
Diffstat (limited to 'lib/common/DebugMemLeakFinder.cpp')
-rw-r--r-- | lib/common/DebugMemLeakFinder.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/common/DebugMemLeakFinder.cpp b/lib/common/DebugMemLeakFinder.cpp index 81e999c4..58a82c0e 100644 --- a/lib/common/DebugMemLeakFinder.cpp +++ b/lib/common/DebugMemLeakFinder.cpp @@ -15,15 +15,19 @@ #undef realloc #undef free -#ifdef HAVE_UNISTD_H - #include <unistd.h> -#endif - #include <limits.h> #include <signal.h> #include <stdio.h> #include <string.h> +#ifdef HAVE_PROCESS_H +# include <process.h> +#endif + +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif + #include <cstdlib> // for std::atexit #include <map> #include <set> |