]> err.no Git - dpkg/commitdiff
Add proper includes to helpmsgs.pl
authorWichert Akkerman <wakkerma@debian.org>
Sat, 30 Oct 1999 01:04:27 +0000 (01:04 +0000)
committerWichert Akkerman <wakkerma@debian.org>
Sat, 30 Oct 1999 01:04:27 +0000 (01:04 +0000)
dselect/mkhelpmsgs.pl

index 11b425206e87a427a7369d5490e5412bd07c5434..308163ba0d49d501e21049ea3fbfaa8e977505d0 100755 (executable)
@@ -12,6 +12,10 @@ print(NC "#include \"helpmsgs.h\"\n") || die $!;
 print(NH <<'END') || die $!;
 #ifndef HELPMSGS_H
 #define HELPMSGS_H
+extern "C" {
+#include <config.h>
+#include <dpkg.h>
+}
 struct helpmessage { const char *title; const char *text; };
 END