summaryrefslogtreecommitdiffstats
path: root/config.tests/unix/ipv6/ipv6test.cpp
blob: 4700ae62fafa4c99163b375041116170ef5a8de4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* Sample program for configure to test IPv6 support on target
platforms. We check for the required IPv6 data structures. */

#if defined(__hpux)
#define _HPUX_SOURCE
#endif

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

int main()
{
    sockaddr_in6 tmp;
    sockaddr_storage tmp2;
    (void)tmp;
    (void)tmp2;

    return 0;
}