summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/posix_memalign.cc
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-04-17 13:43:52 -0400
committerTom Rondeau <trondeau@vt.edu>2013-04-29 14:52:56 -0400
commitf3e2e07201c50033bf6c9d0c6a6f068557b4f17f (patch)
tree140b3c2d20a951ffd4abd564c3378ee2e2f9fc7c /gnuradio-runtime/lib/posix_memalign.cc
parent35303ae975a5b1bdecc2492bc96e2b8e89b62a3d (diff)
runtime: converting runtime core to gr namespace, gnuradio include dir.
Diffstat (limited to 'gnuradio-runtime/lib/posix_memalign.cc')
-rw-r--r--gnuradio-runtime/lib/posix_memalign.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-runtime/lib/posix_memalign.cc b/gnuradio-runtime/lib/posix_memalign.cc
index aaeff78042..a08e9e127a 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);
}
}