Browse code

*** empty log message ***

Andrei Pelinescu-Onciul authored on 19/09/2002 18:30:59
Showing 3 changed files
... ...
@@ -443,7 +443,7 @@ ifeq  ($(OS), SunOS)
443 443
 	YACC=yacc
444 444
 
445 445
 ifeq ($(CC_NAME), suncc)
446
-	LIBS=-lfast
446
+	LIBS=-lfast -lresolv
447 447
 endif
448 448
 	LIBS+=-ldl -L/usr/local/lib -L/usr/lib/mysql -lfl -lxnet -lrt -lnsl
449 449
 	# -lrt needed for sched_yield
... ...
@@ -39,7 +39,7 @@
39 39
 typedef struct {
40 40
 	char* table;           /* Default table to use */
41 41
 	int connected;         /* 1 if database is connected */
42
-	unsigned char tail[0]; /* Variable length tail
42
+	unsigned char tail[1]; /* Variable length tail
43 43
 				* database module specific */    
44 44
 } db_con_t;
45 45
 
... ...
@@ -46,7 +46,7 @@
46 46
 
47 47
 #include <sys/ioctl.h>
48 48
 #include <net/if.h>
49
-#ifdef __sun__
49
+#ifdef __sun
50 50
 #include <sys/sockio.h>
51 51
 #endif
52 52