summaryrefslogtreecommitdiff
path: root/girepository/girffi.c
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@humppa.nl>2009-12-02 10:38:58 -0200
committerJohan Dahlin <johan@gnome.org>2009-12-02 10:39:31 -0200
commit402ca58be8bbf4a33a116f9bd3433fefe6e17052 (patch)
tree07e57e5107eeaa773ea0f4834b5bde81c13c5315 /girepository/girffi.c
parent28cccba737ec2214da66b0d74059278162cf5fd0 (diff)
downloadgobject-introspection-402ca58be8bbf4a33a116f9bd3433fefe6e17052.tar.gz
Fix build on OpenBSD
Due to a missing header, gobject-introspection fails to compile on OpenBSD. And only due to headers-including-headers practice this doesn't blow up on many other platforms. https://bugzilla.gnome.org/show_bug.cgi?id=596226
Diffstat (limited to 'girepository/girffi.c')
-rw-r--r--girepository/girffi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/girepository/girffi.c b/girepository/girffi.c
index 83e65427..d7c52f69 100644
--- a/girepository/girffi.c
+++ b/girepository/girffi.c
@@ -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"