[snappy] util: cleaner includes



commit 3b7736338faa785443757ad04d930d5e09052de7
Author: Luis de Bethencourt <luis debethencourt com>
Date:   Fri Dec 13 17:37:59 2013 -0500

    util: cleaner includes

 src/utils.c |    3 +--
 src/utils.h |    4 ++++
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/utils.c b/src/utils.c
index 545deca..9738f1f 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -20,8 +20,7 @@
  * USA
  */
 
-#include <glib.h>
-#include <gio/gio.h>
+#include "utils.h"
 
 
 gchar *
diff --git a/src/utils.h b/src/utils.h
index dcfb4c9..a3e9458 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -23,6 +23,10 @@
 #ifndef __UTILS_H__
 #define __UTILS_H__
 
+#include <glib.h>
+#include <gio/gio.h>
+#include <gst/gst.h>
+
 G_BEGIN_DECLS
 
 gchar * cut_long_filename (gchar * filename, gint length);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]