Przeglądaj źródła

dpkg: Include main.h to get the limiteddescription prototype

Guillem Jover 16 lat temu
rodzic
commit
7b40a7ecfc
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/pkg-show.c

+ 2 - 0
src/pkg-show.c

@@ -28,6 +28,8 @@
 #include <dpkg/dpkg.h>
 #include <dpkg/dpkg.h>
 #include <dpkg/dpkg-db.h>
 #include <dpkg/dpkg-db.h>
 
 
+#include "main.h"
+
 void
 void
 limiteddescription(struct pkginfo *pkg,
 limiteddescription(struct pkginfo *pkg,
                    int maxl, const char **pdesc_r, int *l_r)
                    int maxl, const char **pdesc_r, int *l_r)