summaryrefslogtreecommitdiff
path: root/methods/connect.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/connect.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/connect.cc')
-rw-r--r--methods/connect.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/connect.cc b/methods/connect.cc
index 23961d83b..d1d71b004 100644
--- a/methods/connect.cc
+++ b/methods/connect.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: connect.cc,v 1.10 2003/02/10 07:34:41 doogie Exp $
+// $Id: connect.cc,v 1.11 2004/01/07 20:39:38 mdz Exp $
/* ######################################################################
Connect - Replacement connect call
@@ -11,7 +11,6 @@
##################################################################### */
/*}}}*/
// Include Files /*{{{*/
-#include <apti18n.h>
#include "connect.h"
#include <apt-pkg/error.h>
#include <apt-pkg/fileutl.h>
@@ -27,6 +26,7 @@
#include <netdb.h>
#include "rfc2553emu.h"
+#include <apti18n.h>
/*}}}*/
static string LastHost;