浏览代码

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

Andrei Pelinescu-Onciul 21 年之前
父节点
当前提交
8ebe290412
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 1
      Makefile.defs
  2. 1 0
      unixsock_server.h

+ 1 - 1
Makefile.defs

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

+ 1 - 0
unixsock_server.h

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