From 886049122c9d7e901c232575267b25d491dc1b72 Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Tue, 9 Feb 2010 17:43:56 +0100 Subject: [PATCH] Add missing memory header needed by std::unique_ptr --- src/algebra.cc | 1 + src/mboxscan.cc | 1 + src/proc.cc | 1 + src/user.cc | 1 + 4 files changed, 4 insertions(+) diff --git a/src/algebra.cc b/src/algebra.cc index 497b58b5..4ab5c790 100644 --- a/src/algebra.cc +++ b/src/algebra.cc @@ -35,6 +35,7 @@ #include #include #include +#include /* find the operand in the given expression * returns the index of the first op character or -1 on error diff --git a/src/mboxscan.cc b/src/mboxscan.cc index 3855bd1e..5415d85c 100644 --- a/src/mboxscan.cc +++ b/src/mboxscan.cc @@ -35,6 +35,7 @@ #include #include #include +#include #define FROM_WIDTH 10 #define SUBJECT_WIDTH 22 diff --git a/src/proc.cc b/src/proc.cc index ccfe410f..27c7f24b 100644 --- a/src/proc.cc +++ b/src/proc.cc @@ -35,6 +35,7 @@ #include #include #include +#include char* readfile(char* filename, int* total_read, char showerror) { FILE* file; diff --git a/src/user.cc b/src/user.cc index 6b3d858a..49d9e398 100644 --- a/src/user.cc +++ b/src/user.cc @@ -33,6 +33,7 @@ #include #include #include "conky.h" +#include void print_uid_name(struct text_object *obj, char *p, int p_max_size) { struct passwd *pw;