equal
deleted
inserted
replaced
6 #include "error.h" |
6 #include "error.h" |
7 #include "shared/util.h" |
7 #include "shared/util.h" |
8 #include "shared/log.h" |
8 #include "shared/log.h" |
9 |
9 |
10 #include <stdlib.h> |
10 #include <stdlib.h> |
|
11 #include <string.h> |
11 #include <sys/stat.h> |
12 #include <sys/stat.h> |
12 #include <unistd.h> |
13 #include <unistd.h> |
13 #include <errno.h> |
14 #include <errno.h> |
14 |
15 |
15 static int pt_image_new (struct pt_image **image_ptr, struct pt_ctx *ctx, const char *path) |
16 static int pt_image_new (struct pt_image **image_ptr, struct pt_ctx *ctx, const char *path) |