[ghex] Add missing stdlib.h includes
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ghex] Add missing stdlib.h includes
- Date: Tue, 26 Jul 2011 18:18:20 +0000 (UTC)
commit c3b2b333819bc2dbd3c577c470be88577edc8494
Author: Kalev Lember <kalevlember gmail com>
Date: Thu Jul 21 12:58:51 2011 +0300
Add missing stdlib.h includes
src/chartable.c | 2 ++
src/converter.c | 1 +
src/ghex-window.c | 1 +
3 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/chartable.c b/src/chartable.c
index 3232ab6..0a78c19 100644
--- a/src/chartable.c
+++ b/src/chartable.c
@@ -25,6 +25,8 @@
# include <config.h>
#endif /* HAVE_CONFIG_H */
+#include <stdlib.h>
+
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
diff --git a/src/converter.c b/src/converter.c
index e05c76c..322db58 100644
--- a/src/converter.c
+++ b/src/converter.c
@@ -28,6 +28,7 @@
#endif /* HAVE_CONFIG_H */
#include <ctype.h> /* for isdigit */
+#include <stdlib.h> /* for strtoul */
#include <string.h> /* for strncpy */
#include <gdk/gdkkeysyms.h>
diff --git a/src/ghex-window.c b/src/ghex-window.c
index 8866cb9..230fb2f 100644
--- a/src/ghex-window.c
+++ b/src/ghex-window.c
@@ -19,6 +19,7 @@
#include <math.h>
#include <ctype.h>
+#include <stdlib.h>
#include <unistd.h> /* for F_OK */
#include "ghex-window.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]