openbsd-ports/devel/gobject-introspection/patches/patch-girepository_girffi_c
jasper 3f3b372442 import gobject-introspection 0.6.5
GObject Introspection is a project for providing machine readable
introspection data of the API of C libraries. This introspection data
can be used in several different use cases, for example automatic code
generation for bindings, API verification and documentation generation.

feedback and ok ajacoutot@ landry@
2009-09-24 20:08:09 +00:00

22 lines
550 B
Plaintext

$OpenBSD: patch-girepository_girffi_c,v 1.1.1.1 2009/09/24 20:08:09 jasper Exp $
Fix build due to missing header.
--- girepository/girffi.c.orig Sat Sep 19 15:27:34 2009
+++ girepository/girffi.c Sat Sep 19 15:27:47 2009
@@ -18,10 +18,13 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+
+#include <sys/types.h>
+#include <sys/mman.h>
+
#include <config.h>
#include <errno.h>
#include <string.h>
-#include <sys/mman.h>
#include <unistd.h>
#include "girffi.h"
#include "girepository.h"