diff options
Diffstat (limited to 'gio/xdgmime/xdgmimeint.c')
-rw-r--r-- | gio/xdgmime/xdgmimeint.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gio/xdgmime/xdgmimeint.c b/gio/xdgmime/xdgmimeint.c index 35c3635e2..5e4513c50 100644 --- a/gio/xdgmime/xdgmimeint.c +++ b/gio/xdgmime/xdgmimeint.c @@ -20,10 +20,14 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see <http://www.gnu.org/licenses/>. + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. */ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "xdgmimeint.h" #include <ctype.h> @@ -189,7 +193,7 @@ const char * _xdg_binary_or_text_fallback(const void *data, size_t len) { unsigned char *chardata; - int i; + size_t i; chardata = (unsigned char *) data; for (i = 0; i < 128 && i < len; ++i) |