Fix potential undefined references to FILE, for libopkg users.
authorgraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Thu, 23 Dec 2010 01:38:40 +0000 (01:38 +0000)
committergraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Thu, 23 Dec 2010 01:38:40 +0000 (01:38 +0000)
Patch from Richard Purdie.

git-svn-id: http://opkg.googlecode.com/svn/trunk@595 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libopkg/pkg_dest.h

index cbc1ce6..4ad417e 100644 (file)
@@ -18,6 +18,8 @@
 #ifndef PKG_DEST_H
 #define PKG_DEST_H
 
+#include <stdio.h>
+
 typedef struct pkg_dest pkg_dest_t;
 struct pkg_dest
 {