diff options
Diffstat (limited to 'gnuradio-core/src/lib/missing/posix_memalign.cc')
-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 |