summaryrefslogtreecommitdiff
path: root/dselect/method.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/method.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/method.cc')
-rw-r--r--dselect/method.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/dselect/method.cc b/dselect/method.cc
index 9a02ad427..0efcce3e7 100644
--- a/dselect/method.cc
+++ b/dselect/method.cc
@@ -19,6 +19,9 @@
* License along with dpkg; 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>
@@ -38,7 +41,6 @@
#include <sys/file.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}