summaryrefslogtreecommitdiff
path: root/dpkg-deb
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 /dpkg-deb
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 'dpkg-deb')
-rw-r--r--dpkg-deb/build.c3
-rw-r--r--dpkg-deb/extract.c2
-rw-r--r--dpkg-deb/info.c2
-rw-r--r--dpkg-deb/main.c2
4 files changed, 5 insertions, 4 deletions
diff --git a/dpkg-deb/build.c b/dpkg-deb/build.c
index a79ab091f..81467d9a8 100644
--- a/dpkg-deb/build.c
+++ b/dpkg-deb/build.c
@@ -20,6 +20,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -38,7 +40,6 @@
#include <zlib.h>
#endif
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include "dpkg-deb.h"
diff --git a/dpkg-deb/extract.c b/dpkg-deb/extract.c
index 82534a0c2..caa6fc97f 100644
--- a/dpkg-deb/extract.c
+++ b/dpkg-deb/extract.c
@@ -18,6 +18,7 @@
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
@@ -37,7 +38,6 @@
#include <zlib.h>
#endif
-#include <config.h>
#include <dpkg.h>
#include <dpkg-deb.h>
#include <myopt.h>
diff --git a/dpkg-deb/info.c b/dpkg-deb/info.c
index cd8215d66..5095f621d 100644
--- a/dpkg-deb/info.c
+++ b/dpkg-deb/info.c
@@ -19,6 +19,7 @@
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
@@ -33,7 +34,6 @@
#include <limits.h>
#include <ctype.h>
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
#include <myopt.h>
diff --git a/dpkg-deb/main.c b/dpkg-deb/main.c
index 9d98e1d64..9bf1f6632 100644
--- a/dpkg-deb/main.c
+++ b/dpkg-deb/main.c
@@ -18,6 +18,7 @@
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <config.h>
#include <stdio.h>
#include <string.h>
@@ -33,7 +34,6 @@
#include <ctype.h>
#include <assert.h>
-#include <config.h>
#include <dpkg.h>
#include <version.h>
#include <myopt.h>