]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix spandsp build
authorSeven Du <dujinfang@gmail.com>
Thu, 8 Aug 2013 01:05:31 +0000 (09:05 +0800)
committerSeven Du <dujinfang@gmail.com>
Thu, 8 Aug 2013 01:05:31 +0000 (09:05 +0800)
libs/spandsp/src/alloc.c

index eee961c61576e43dd019a090756adeb79b2a4e52..386da04669ac6e4856a10d36a06c79e3654e3b23 100644 (file)
@@ -61,8 +61,8 @@ span_aligned_alloc_t __span_aligned_alloc = aligned_alloc;
 #elif defined(HAVE_MEMALIGN)
 span_aligned_alloc_t __span_aligned_alloc = memalign;
 #elif defined(HAVE_POSIX_MEMALIGN)
-span_aligned_alloc_t __span_aligned_alloc = fake_posix_memalign;
 static void *fake_posix_memalign(size_t alignment, size_t size);
+span_aligned_alloc_t __span_aligned_alloc = fake_posix_memalign;
 #else
 span_aligned_alloc_t __span_aligned_alloc = fake_aligned_alloc;
 #endif