diff options
| author | Andreas Schneider <asn@samba.org> | 2013-12-20 10:54:20 +0100 |
|---|---|---|
| committer | Andreas Schneider <asn@samba.org> | 2013-12-20 10:54:20 +0100 |
| commit | 1e413ec5497c82375dd11739912ddedd4743bb5f (patch) | |
| tree | b51dfb268a793fdaca9c4d698398348ee6062585 /tests | |
| parent | 0f203f240b884f71aa5b24887447581822121354 (diff) | |
| download | socket_wrapper-1e413ec5497c82375dd11739912ddedd4743bb5f.tar.gz socket_wrapper-1e413ec5497c82375dd11739912ddedd4743bb5f.tar.xz socket_wrapper-1e413ec5497c82375dd11739912ddedd4743bb5f.zip | |
echo_srv: Add missing includes.
This should fix the build on FreeBSD.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/echo_srv.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/tests/echo_srv.c b/tests/echo_srv.c index dd6fafd..a207419 100644 --- a/tests/echo_srv.c +++ b/tests/echo_srv.c @@ -1,17 +1,21 @@ -#include <stdio.h> -#include <stdlib.h> #include <errno.h> -#include <sys/socket.h> + #include <sys/types.h> +#include <sys/socket.h> #include <sys/stat.h> -#include <resolv.h> + #include <arpa/inet.h> -#include <errno.h> +#include <netinet/in.h> #include <netdb.h> -#include <string.h> +#include <resolv.h> + +#include <fcntl.h> #include <getopt.h> #include <unistd.h> -#include <fcntl.h> + +#include <string.h> +#include <stdio.h> +#include <stdlib.h> #include <stdbool.h> #ifndef PIDFILE |
