summaryrefslogtreecommitdiff
path: root/dselect/methlist.cc
diff options
context:
space:
mode:
authorAdam Heath <doogie@debian.org>2003-10-25 20:03:20 +0000
committerAdam Heath <doogie@debian.org>2003-10-25 20:03:20 +0000
commitdbcb74499899922f39fd49667f00ba8fab0ddecc (patch)
tree0b82456a2f5b3e0eddc09ac2f738bce25c931f51 /dselect/methlist.cc
parent956c58aaf38ac8b9410fa6e99c9a6b52dff25255 (diff)
downloaddpkg-dbcb74499899922f39fd49667f00ba8fab0ddecc.tar.gz
Almost *EVERY* damn file was including config.h in the wrong spot. After
making it the first include, then off_t/size_t/etc could actually be redefined to be 64-bit compatible.
Diffstat (limited to 'dselect/methlist.cc')
-rw-r--r--dselect/methlist.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/dselect/methlist.cc b/dselect/methlist.cc
index 25c859737..7761c49af 100644
--- a/dselect/methlist.cc
+++ b/dselect/methlist.cc
@@ -19,6 +19,9 @@
* License along with this; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+extern "C" {
+#include <config.h>
+}
#include <stdio.h>
#include <string.h>
@@ -26,7 +29,6 @@
#include <errno.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}