diff options
Diffstat (limited to 'gnuradio-runtime/lib/posix_memalign.cc')
-rw-r--r-- | gnuradio-runtime/lib/posix_memalign.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-runtime/lib/posix_memalign.cc b/gnuradio-runtime/lib/posix_memalign.cc index aaeff78042..f75b1d5f3f 100644 --- a/gnuradio-runtime/lib/posix_memalign.cc +++ b/gnuradio-runtime/lib/posix_memalign.cc @@ -36,7 +36,7 @@ /* emulate posix_memalign functionality, to some degree */ #include <errno.h> -#include "gr_pagesize.h" +#include "pagesize.h" int posix_memalign (void **memptr, size_t alignment, size_t size) @@ -86,7 +86,7 @@ int posix_memalign /* try valloc if it exists */ /* cheap and easy way to make sure alignment is met, so long as it * is <= pagesize () */ - if (alignment <= (size_t) gr_pagesize ()) { + if (alignment <= (size_t) gr::pagesize ()) { *memptr = valloc (size); } } @@ -98,7 +98,7 @@ int posix_memalign * (enough for the input arguments); no idea what to do. */ -#error gnuradio-core/src/libmissing/posix_memalign.cc: Cannot find a way to alloc aligned memory. +#error gnuradio-runtime/lib/posix_memalign.cc: Cannot find a way to alloc aligned memory. #endif |