summaryrefslogtreecommitdiff
path: root/dselect/pkginfo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dselect/pkginfo.cc')
-rw-r--r--dselect/pkginfo.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/dselect/pkginfo.cc b/dselect/pkginfo.cc
index 4061539d9..6c8aeb025 100644
--- a/dselect/pkginfo.cc
+++ b/dselect/pkginfo.cc
@@ -18,6 +18,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>
@@ -25,7 +28,6 @@
#include <ctype.h>
extern "C" {
-#include <config.h>
#include <dpkg.h>
#include <dpkg-db.h>
}