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:
parent
332cf86b7b
commit
886049122c
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user