Commit 325912de authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

rpcrt4: Fix some conditional includes.

Check for HAVE_UNISTD_H before including unistd.h. There is no HAVE_SYS_TYPES to check. Tweak the indentation of a few #include directives.
parent adf52cda
......@@ -29,20 +29,20 @@
#include <string.h>
#include <assert.h>
#include <unistd.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <fcntl.h>
#include <stdlib.h>
#ifdef HAVE_SYS_TYPES
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
# include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
# include <netinet/in.h>
#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
# include <arpa/inet.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment