Browse code

Fix compilation error when experimental is not set

git-svn: trunk@2420

Nigel Horne authored on 2006/10/22 00:22:33
Showing 1 changed files
... ...
@@ -19,12 +19,14 @@
19 19
  * Save the JavaScript embedded in an HTML file, then run the script, saving
20 20
  * the output in a file that is to be scanned, then remove the script file
21 21
  */
22
-static	char	const	rcsid[] = "$Id: js.c,v 1.10 2006/10/19 17:29:47 njh Exp $";
22
+static	char	const	rcsid[] = "$Id: js.c,v 1.11 2006/10/21 15:22:33 njh Exp $";
23 23
 
24 24
 #if HAVE_CONFIG_H
25 25
 #include "clamav-config.h"
26 26
 #endif
27 27
 
28
+#include "clamav.h"
29
+
28 30
 #ifdef	CL_EXPERIMENTAL
29 31
 
30 32
 #if	HAVE_MMAP
... ...
@@ -39,7 +41,6 @@ static	char	const	rcsid[] = "$Id: js.c,v 1.10 2006/10/19 17:29:47 njh Exp $";
39 39
 #include <unistd.h>
40 40
 #endif
41 41
 
42
-#include "clamav.h"
43 42
 #include "others.h"
44 43
 #include "js.h"
45 44