diff options
author | Shaun McCance <shaunm@gnome.org> | 2011-06-24 15:13:35 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2011-06-24 15:15:33 -0400 |
commit | 7558d40a73d0e8d986e2e9611a55a3b768edcb0a (patch) | |
tree | 58e13b8cf912a29acec1454a3dcfd0a5d42aa7d7 /libyelp/yelp-docbook-document.c | |
parent | 662225843b57b7892e9b8bf3d2a76d896e1b34e1 (diff) | |
download | yelp-7558d40a73d0e8d986e2e9611a55a3b768edcb0a.tar.gz |
Fixed search crash on 64-bit, didn't #include header
If you don't #include the header, the default return type is int,
which truncates the pointer on 64-bit systems, which crashes.
Diffstat (limited to 'libyelp/yelp-docbook-document.c')
-rw-r--r-- | libyelp/yelp-docbook-document.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libyelp/yelp-docbook-document.c b/libyelp/yelp-docbook-document.c index 479597b9..b7e3a985 100644 --- a/libyelp/yelp-docbook-document.c +++ b/libyelp/yelp-docbook-document.c @@ -34,6 +34,7 @@ #include "yelp-docbook-document.h" #include "yelp-error.h" #include "yelp-settings.h" +#include "yelp-storage.h" #include "yelp-transform.h" #include "yelp-debug.h" |