Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
@@ -28,6 +28,8 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+#include "config.h"
+
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <assert.h>
#include <unistd.h>
#include "smb_fd.h"
#include <stdio.h>
#ifdef _WIN32
# define _CRT_RAND_S
#endif
@@ -41,7 +43,6 @@
#include <fcntl.h>
-#include "config.h"
#ifdef HAVE_BSD_STRING_H
#include <bsd/string.h>
#else
#include "compat.h"
@@ -27,6 +27,9 @@
* along with this program; if not, write to the Free Software Foundation,
#include "smb_session.h"
#include "smb_transport.h"
#include <iconv.h>
#include <locale.h>
@@ -36,8 +38,6 @@
#include <errno.h>
-
#if HAVE_LANGINFO_H && !defined( __APPLE__ )
# include <langinfo.h>