Просмотр исходного кода

Fix comile failures for BSD/Darwin port

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1019 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 20 лет назад
Родитель
Сommit
b6543dd3c4
2 измененных файлов с 3 добавлено и 1 удалено
  1. 2 0
      exec/aispoll.h
  2. 1 1
      exec/ipc.c

+ 2 - 0
exec/aispoll.h

@@ -34,6 +34,8 @@
 #ifndef POLL_H_DEFINED
 #define POLL_H_DEFINED
 
+#include <pthread.h>
+
 typedef void * poll_timer_handle;
 typedef unsigned int poll_handle;
 

+ 1 - 1
exec/ipc.c

@@ -533,7 +533,7 @@ static int libais_deliver (struct conn_info *conn_info)
 				conn_info->authenticated = 1;
 		}
 		if (conn_info->authenticated == 0) {
-			log_printf (LOG_LEVEL_SECURITY, "Connection not authenticated because gid is %d, expecting %d\n", egid, gid_valid);
+			log_printf (LOG_LEVEL_SECURITY, "Connection not authenticated because gid is %d, expecting %d\n", egid, g_gid_valid);
 		}
 #endif
 	}