changeset 5282:a5e0d4c469e0

dlfcn.h shouldn't be included if XANIM support disabled
author arpi
date Sat, 23 Mar 2002 18:38:41 +0000
parents 88df6d5f6ce7
children 9917a783d5de
files xacodec.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/xacodec.c	Sat Mar 23 18:16:22 2002 +0000
+++ b/xacodec.c	Sat Mar 23 18:38:41 2002 +0000
@@ -9,6 +9,10 @@
 #include <stdlib.h>
 #include <string.h> /* strerror */
 
+#include "config.h"
+
+#ifdef USE_XANIM
+
 #ifdef __FreeBSD__
 #include <unistd.h>
 #endif
@@ -17,8 +21,6 @@
 #include <stdarg.h> /* va_alist, va_start, va_end */
 #include <errno.h> /* strerror, errno */
 
-#include "config.h"
-
 #include "mp_msg.h"
 #include "bswap.h"
 
@@ -37,8 +39,6 @@
 
 #include "fastmemcpy.h"
 
-#ifdef USE_XANIM
-
 #if 0
 typedef char xaBYTE;
 typedef short xaSHORT;