1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 18:45:10 +00:00

Add missing memory header needed by std::unique_ptr

This commit is contained in:
Nikolas Garofil 2010-02-09 17:43:56 +01:00
parent 332cf86b7b
commit 886049122c
4 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <memory>
/* find the operand in the given expression
* returns the index of the first op character or -1 on error

View File

@ -35,6 +35,7 @@
#include <sys/stat.h>
#include <sys/time.h>
#include <errno.h>
#include <memory>
#define FROM_WIDTH 10
#define SUBJECT_WIDTH 22

View File

@ -35,6 +35,7 @@
#include <unistd.h>
#include <ctype.h>
#include <dirent.h>
#include <memory>
char* readfile(char* filename, int* total_read, char showerror) {
FILE* file;

View File

@ -33,6 +33,7 @@
#include <grp.h>
#include <errno.h>
#include "conky.h"
#include <memory>
void print_uid_name(struct text_object *obj, char *p, int p_max_size) {
struct passwd *pw;