Przeglądaj źródła

Add proper includes to helpmsgs.pl

Wichert Akkerman 27 lat temu
rodzic
commit
5bd046801d
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      dselect/mkhelpmsgs.pl

+ 4 - 0
dselect/mkhelpmsgs.pl

@@ -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