# | Line 8 | Line 8 | |
---|---|---|
8 | #define _HostUpdate_hpp_ | |
9 | ||
10 | #include <iostream> | |
11 | + | #include <fstream> |
12 | + | #include <string> |
13 | + | #include <set> |
14 | #include <cgicc/Cgicc.h> | |
15 | ||
16 | #include <sys/types.h> | |
# | Line 16 | Line 19 | |
19 | #ifndef _WIN32 | |
20 | ||
21 | #include <unistd.h> | |
22 | + | #include <dirent.h> |
23 | + | |
24 | + | inline int mkdir(const char* path) |
25 | + | { |
26 | + | return mkdir(path, S_IRUSR | S_IWUSR | S_IXUSR); |
27 | + | } |
28 | ||
29 | #else | |
30 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |