Merged revisions 87567 via svnmerge from
authorJason Parker <jparker@digium.com>
Tue, 30 Oct 2007 15:47:19 +0000 (15:47 +0000)
committerJason Parker <jparker@digium.com>
Tue, 30 Oct 2007 15:47:19 +0000 (15:47 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11113)
........
r87567 | qwell | 2007-10-30 10:45:35 -0500 (Tue, 30 Oct 2007) | 4 lines

Fix build of editline on Solaris.

Issue 11113, patch by snuffy.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87568 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/editline/np/vis.c

index 83265f4..7d9117f 100644 (file)
@@ -54,7 +54,7 @@ __weak_alias(svis,_svis)
 __weak_alias(vis,_vis)
 #endif
 
-#if !HAVE_VIS_H
+#ifndef HAVE_VIS_H
 #include <ctype.h>
 #include <limits.h>
 #include <stdio.h>
@@ -69,7 +69,6 @@ __weak_alias(vis,_vis)
 
 #ifdef SOLARIS
 #include <alloca.h>
-typedef unsigned int   u_int32_t;
 #endif
 
 #define isoctal(c)     (((u_char)(c)) >= '0' && ((u_char)(c)) <= '7')