diff options
author | michaelld | 2009-02-18 15:18:23 +0000 |
---|---|---|
committer | michaelld | 2009-02-18 15:18:23 +0000 |
commit | 5d1b71031124406721a701c259c12392cd52c4aa (patch) | |
tree | acdaf62246d286c544793c616eddaa7487d12d77 /gnuradio-core/src/lib/missing | |
parent | 14e59a3bedfdbd2835c3053cb0be26131bafb9d1 (diff) | |
download | gnuradio-5d1b71031124406721a701c259c12392cd52c4aa.tar.gz gnuradio-5d1b71031124406721a701c259c12392cd52c4aa.tar.bz2 gnuradio-5d1b71031124406721a701c259c12392cd52c4aa.zip |
Merging in branch to add malloc.h to posix_memalign.cc for Cygwin.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10461 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src/lib/missing')
-rw-r--r-- | gnuradio-core/src/lib/missing/posix_memalign.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/missing/posix_memalign.cc b/gnuradio-core/src/lib/missing/posix_memalign.cc index a1a707ae5..a2e98b018 100644 --- a/gnuradio-core/src/lib/missing/posix_memalign.cc +++ b/gnuradio-core/src/lib/missing/posix_memalign.cc @@ -25,7 +25,11 @@ #endif #include "posix_memalign.h" -#include <stdlib.h> + +#ifdef HAVE_MALLOC_H +// for Cygwin valloc () prototype +#include <malloc.h> +#endif #ifndef HAVE_POSIX_MEMALIGN |