浏览代码

dpkg: Include main.h to get the limiteddescription prototype

Guillem Jover 16 年之前
父节点
当前提交
7b40a7ecfc
共有 1 个文件被更改,包括 2 次插入 和 0 次删除
  1. 2 0
      src/pkg-show.c

+ 2 - 0
src/pkg-show.c

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