Index: trunk/src/sh_prelude.c
===================================================================
--- trunk/src/sh_prelude.c	(revision 541)
+++ trunk/src/sh_prelude.c	(revision 542)
@@ -38,4 +38,5 @@
 #include <stdio.h>
 #include <string.h>
+#include <ctype.h>
 #include <sys/types.h>
 
@@ -810,6 +811,4 @@
         if ( *ptr && *end == '\0' && port >= 0 && port < 65536) {
 
-	        char * tmpw;
-
                 if ( ! source ) {
                         ret = idmef_alert_new_source(alert, &source, IDMEF_LIST_APPEND);
