summaryrefslogtreecommitdiff
path: root/methods/ftp.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 17:04:52 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 17:04:52 +0000
commitd77559acad5da864e764aef8aed08046e4d38ed4 (patch)
tree4e68993ea7784566eb95f87aeb25af406149992a /methods/ftp.cc
parent57dd614d0e8a103285357a9576261744dce39199 (diff)
* Patch from Eric Wong <normalperson@yhbt.net> to inclu...
Author: mdz Date: 2004-01-07 20:39:37 GMT * Patch from Eric Wong <normalperson@yhbt.net> to include apt18n.h after other headers to avoid breaking locale.h when setlocale() is defined as an empty macro (Closes: #226509)
Diffstat (limited to 'methods/ftp.cc')
-rw-r--r--methods/ftp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc
index fb84f3f55..cf2838e3f 100644
--- a/methods/ftp.cc
+++ b/methods/ftp.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: ftp.cc,v 1.31 2003/08/10 02:24:39 mdz Exp $
+// $Id: ftp.cc,v 1.32 2004/01/07 20:39:38 mdz Exp $
/* ######################################################################
FTP Aquire Method - This is the FTP aquire method for APT.
@@ -15,7 +15,6 @@
##################################################################### */
/*}}}*/
// Include Files /*{{{*/
-#include <apti18n.h>
#include <apt-pkg/fileutl.h>
#include <apt-pkg/acquire-method.h>
#include <apt-pkg/error.h>
@@ -30,6 +29,7 @@
#include <errno.h>
#include <stdarg.h>
#include <iostream>
+#include <apti18n.h>
// Internet stuff
#include <netinet/in.h>