src/lib/image.c
changeset 177 b2768f3982f3
parent 69 1d188aa94aee
equal deleted inserted replaced
176:ad32cf3a25fa 177:b2768f3982f3
     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)