gedit-plugins/gedit-plugins-implicit.patch

25 lines
784 B
Diff

From 593a411f82e59f5b25d62042d5e31078571e17b6 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Sun, 4 Dec 2011 14:21:48 +0100
Subject: [PATCH] bookmarks: include stdlib.h to have atoi() defined.
---
plugins/bookmarks/gedit-bookmarks-plugin.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/plugins/bookmarks/gedit-bookmarks-plugin.c b/plugins/bookmarks/gedit-bookmarks-plugin.c
index 88e6c7a..40b94fd 100644
--- a/plugins/bookmarks/gedit-bookmarks-plugin.c
+++ b/plugins/bookmarks/gedit-bookmarks-plugin.c
@@ -25,6 +25,7 @@
#include "gedit-bookmarks-plugin.h"
#include "messages/messages.h"
+#include <stdlib.h> // for atoi()
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>
#include <gedit/gedit-debug.h>
--
1.7.7