Przeglądaj źródła

- missing header on netbsd
- removed -Wcast-align for mips2

Andrei Pelinescu-Onciul 21 lat temu
rodzic
commit
8ebe290412
2 zmienionych plików z 2 dodań i 1 usunięć
  1. 1 1
      Makefile.defs
  2. 1 0
      unixsock_server.h

+ 1 - 1
Makefile.defs

@@ -588,7 +588,7 @@ ifeq	($(ARCH), mips2)
 		# if gcc 
 		# if gcc 
 ifeq		($(CC_NAME), gcc)
 ifeq		($(CC_NAME), gcc)
 				#common stuff
 				#common stuff
-				CFLAGS= -mips2 -O9 -funroll-loops  -Wcast-align $(PROFILE) \
+				CFLAGS= -mips2 -O9 -funroll-loops $(PROFILE) \
 					-Wall   \
 					-Wall   \
 			#if gcc 3.0
 			#if gcc 3.0
 ifeq			($(CC_SHORTVER), 3.0)
 ifeq			($(CC_SHORTVER), 3.0)

+ 1 - 0
unixsock_server.h

@@ -31,6 +31,7 @@
 #define _UNIXSOCK_SERVER_H
 #define _UNIXSOCK_SERVER_H
 
 
 
 
+#include <sys/types.h>
 #include <sys/un.h>
 #include <sys/un.h>
 #include <unistd.h>
 #include <unistd.h>
 #include "str.h"
 #include "str.h"