diff --git a/Fltk/GmshServer.cpp b/Fltk/GmshServer.cpp
index cf91c9e8c6cfa3746a4eb9985f6247ebd38cc3cf..b1905da5eff3468faa488863772457f8b9d36753 100644
--- a/Fltk/GmshServer.cpp
+++ b/Fltk/GmshServer.cpp
@@ -1,4 +1,4 @@
-/* $Id: GmshServer.cpp,v 1.1 2002-01-03 10:25:06 geuzaine Exp $ */
+/* $Id: GmshServer.cpp,v 1.2 2002-01-03 13:49:42 geuzaine Exp $ */
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -47,7 +47,7 @@ static int Socket_UnlinkName(char *name){
 
 int Gmsh_StartClient(char *command, char *sockname){
   int s, sock;
-#ifdef linux
+#if defined(linux) || defined(_AIX)
   socklen_t len ;
 #else
   int len;