diff include/freeDiameter/CMakeLists.txt @ 168:6db078b955e3

Completed rt_default extension
author Sebastien Decugis <sdecugis@nict.go.jp>
date Tue, 02 Feb 2010 10:15:05 +0900
parents 08d8cbeff30b
children 60f34df3e025
line wrap: on
line diff
--- a/include/freeDiameter/CMakeLists.txt	Fri Jan 29 18:57:40 2010 +0900
+++ b/include/freeDiameter/CMakeLists.txt	Tue Feb 02 10:15:05 2010 +0900
@@ -64,7 +64,8 @@
 	ENDIF(NOT HAVE_NATIVE_SCTP)
 	# Now check the number of args of this function, since it changed between Ubuntu 9.04 and 9.10
    	SET(CHECK_SCTP_CONNECTX_4_ARGS_SOURCE_CODE "
-		#include <netinet/sctp.h>;
+		#include <unistd.h>
+		#include <netinet/sctp.h>
 		int main() {
 		   return sctp_connectx(0, NULL, 0, NULL);
 		}
"Welcome to our mercurial repository"