[vte] lib: Add some missing includes



commit f318750cd0ecfae87e27a084ffe43cf87a91e0f7
Author: Christian Persch <chpe gnome org>
Date:   Fri Feb 5 20:06:30 2016 +0100

    lib: Add some missing includes
    
    It works locally for me here without these, but build.g.o fails.

 src/vte.cc    |    2 ++
 src/vteseq.cc |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index 989853e..97e8782 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -20,6 +20,8 @@
 #include <config.h>
 
 #include <math.h>
+#include <search.h>
+#include <stdlib.h>
 #include <string.h>
 #include <sys/ioctl.h>
 #include <errno.h>
diff --git a/src/vteseq.cc b/src/vteseq.cc
index 86998a6..1a64602 100644
--- a/src/vteseq.cc
+++ b/src/vteseq.cc
@@ -18,6 +18,8 @@
 
 #include "config.h"
 
+#include <search.h>
+#include <stdlib.h>
 #include <string.h>
 #include <limits.h>
 #ifdef HAVE_SYS_SYSLIMITS_H


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