ConfigPath: include cleanup

This commit is contained in:
Max Kellermann
2013-09-12 10:17:04 +02:00
parent 1ee6a78cb7
commit 9af620982c

View File

@@ -22,32 +22,16 @@
#include "fs/Path.hxx"
#include "util/Error.hxx"
#include "ConfigGlobal.hxx"
#include "ConfigOption.hxx"
#include <glib.h>
#include <assert.h>
#include <string.h>
#include <sys/types.h>
#include <fcntl.h>
#include <errno.h>
#ifndef WIN32
#include <pwd.h>
#endif
#if HAVE_IPV6 && WIN32
#include <winsock2.h>
#endif
#if HAVE_IPV6 && ! WIN32
#include <sys/socket.h>
#endif
#ifdef WIN32
#include <windows.h>
#endif
Path
ParsePath(const char *path, Error &error)
{