--- cts/agents/cpg_test_agent.c | 1 + exec/totemip.c | 1 - exec/totempg.c | 3 +++ exec/totemsrp.c | 1 + exec/totemudp.c | 1 + exec/totemudpu.c | 1 + include/corosync/totem/totemip.h | 1 + include/corosync/totem/totempg.h | 1 + lib/cfg.c | 1 + lib/cmap.c | 1 + lib/cpg.c | 1 + lib/quorum.c | 1 + lib/votequorum.c | 1 + test/cpgbench.c | 2 +- test/cpgbound.c | 1 + test/cpgverify.c | 1 + test/testcpg.c | 1 + test/testcpg2.c | 1 + 18 files changed, 19 insertions(+), 2 deletions(-) diff --git a/cts/agents/cpg_test_agent.c b/cts/agents/cpg_test_agent.c index f9e0350..9791e4f 100644 --- a/cts/agents/cpg_test_agent.c +++ b/cts/agents/cpg_test_agent.c @@ -39,6 +39,7 @@ #include <string.h> #include <sys/types.h> #include <sys/socket.h> +#include <sys/uio.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> diff --git a/exec/totemip.c b/exec/totemip.c index a641feb..b5b5a74 100644 --- a/exec/totemip.c +++ b/exec/totemip.c @@ -39,7 +39,6 @@ #include <sys/ioctl.h> #include <sys/types.h> #include <sys/socket.h> -#include <arpa/inet.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> diff --git a/exec/totempg.c b/exec/totempg.c index abaaf6b..eb0ef7e 100644 --- a/exec/totempg.c +++ b/exec/totempg.c @@ -87,7 +87,10 @@ #ifdef HAVE_ALLOCA_H #include <alloca.h> #endif +#include <sys/types.h> +#include <sys/socket.h> #include <netinet/in.h> +#include <arpa/inet.h> #include <sys/uio.h> #include <stdio.h> #include <stdlib.h> diff --git a/exec/totemsrp.c b/exec/totemsrp.c index f81708a..8a7c12c 100644 --- a/exec/totemsrp.c +++ b/exec/totemsrp.c @@ -72,6 +72,7 @@ #include <time.h> #include <sys/time.h> #include <sys/poll.h> +#include <sys/uio.h> #include <limits.h> #include <qb/qbdefs.h> diff --git a/exec/totemudp.c b/exec/totemudp.c index d7d7d2b..5ad3fc8 100644 --- a/exec/totemudp.c +++ b/exec/totemudp.c @@ -56,6 +56,7 @@ #include <time.h> #include <sys/time.h> #include <sys/poll.h> +#include <sys/uio.h> #include <limits.h> #include <corosync/sq.h> diff --git a/exec/totemudpu.c b/exec/totemudpu.c index e9bf759..bcbf390 100644 --- a/exec/totemudpu.c +++ b/exec/totemudpu.c @@ -55,6 +55,7 @@ #include <time.h> #include <sys/time.h> #include <sys/poll.h> +#include <sys/uio.h> #include <limits.h> #include <qb/qbdefs.h> diff --git a/include/corosync/totem/totemip.h b/include/corosync/totem/totemip.h index 2ef03d2..533735a 100644 --- a/include/corosync/totem/totemip.h +++ b/include/corosync/totem/totemip.h @@ -37,6 +37,7 @@ #ifndef TOTEMIP_H_DEFINED #define TOTEMIP_H_DEFINED +#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <stdint.h> diff --git a/include/corosync/totem/totempg.h b/include/corosync/totem/totempg.h index 8bbecbf..6ab9fd0 100644 --- a/include/corosync/totem/totempg.h +++ b/include/corosync/totem/totempg.h @@ -47,6 +47,7 @@ extern "C" { #endif +#include <sys/types.h> #include <netinet/in.h> #include "totem.h" #include <qb/qbloop.h> diff --git a/lib/cfg.c b/lib/cfg.c index 248df4d..d594324 100644 --- a/lib/cfg.c +++ b/lib/cfg.c @@ -46,6 +46,7 @@ #include <sys/socket.h> #include <sys/select.h> #include <sys/un.h> +#include <sys/uio.h> #include <qb/qbipcc.h> diff --git a/lib/cmap.c b/lib/cmap.c index 6333295..ed33536 100644 --- a/lib/cmap.c +++ b/lib/cmap.c @@ -39,6 +39,7 @@ #include <unistd.h> #include <pthread.h> #include <sys/types.h> +#include <sys/uio.h> #include <errno.h> #include <corosync/corotypes.h> diff --git a/lib/cpg.c b/lib/cpg.c index a781e42..b96df4e 100644 --- a/lib/cpg.c +++ b/lib/cpg.c @@ -47,6 +47,7 @@ #include <sys/types.h> #include <sys/socket.h> #include <sys/mman.h> +#include <sys/uio.h> #include <errno.h> #include <limits.h> diff --git a/lib/quorum.c b/lib/quorum.c index eb53b7f..92748da 100644 --- a/lib/quorum.c +++ b/lib/quorum.c @@ -42,6 +42,7 @@ #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> +#include <sys/uio.h> #include <errno.h> #include <qb/qbipcc.h> diff --git a/lib/votequorum.c b/lib/votequorum.c index daac847..56ac517 100644 --- a/lib/votequorum.c +++ b/lib/votequorum.c @@ -43,6 +43,7 @@ #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> +#include <sys/uio.h> #include <errno.h> #include <qb/qbdefs.h> diff --git a/test/cpgbench.c b/test/cpgbench.c index 88a50a4..23fc2b0 100644 --- a/test/cpgbench.c +++ b/test/cpgbench.c @@ -46,8 +46,8 @@ #include <sys/types.h> #include <sys/socket.h> #include <sys/select.h> +#include <sys/uio.h> #include <sys/un.h> -#include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <pthread.h> diff --git a/test/cpgbound.c b/test/cpgbound.c index 98d0fde..c4d37fc 100644 --- a/test/cpgbound.c +++ b/test/cpgbound.c @@ -37,6 +37,7 @@ #include <stdio.h> #include <stdlib.h> #include <sys/socket.h> +#include <sys/uio.h> #include <netinet/in.h> #include <arpa/inet.h> #include <errno.h> diff --git a/test/cpgverify.c b/test/cpgverify.c index 350c6b2..5349c51 100644 --- a/test/cpgverify.c +++ b/test/cpgverify.c @@ -38,6 +38,7 @@ #include <stdio.h> #include <stdlib.h> #include <sys/socket.h> +#include <sys/uio.h> #include <netinet/in.h> #include <arpa/inet.h> #include <errno.h> diff --git a/test/testcpg.c b/test/testcpg.c index 7065530..67c2d7c 100644 --- a/test/testcpg.c +++ b/test/testcpg.c @@ -43,6 +43,7 @@ #include <sys/types.h> #include <sys/socket.h> #include <sys/select.h> +#include <sys/uio.h> #include <sys/un.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/test/testcpg2.c b/test/testcpg2.c index f017289..e671adf 100644 --- a/test/testcpg2.c +++ b/test/testcpg2.c @@ -39,6 +39,7 @@ #include <poll.h> #include <sys/types.h> #include <sys/socket.h> +#include <sys/uio.h> #include <corosync/corotypes.h> #include <corosync/cpg.h> -- 1.7.1 _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss