ioemu: Fix Solaris build.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
Keir Fraser committed 2008-02-25 09:09:01 +00:00
1 parent e71d76cb8b
commit f2a6c8a758
1 file changed
+1 -1
+1 -1
View File
@@ -178,7 +178,7 @@ void kqemu_vfree(void *ptr)
void *qemu_memalign(size_t alignment, size_t size)
{
#if defined(_POSIX_C_SOURCE)
#if defined(_POSIX_C_SOURCE) && !defined(__sun__)
int ret;
void *ptr;
ret = posix_memalign(&ptr, alignment, size);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.