Add missing includes for open/fcntl
parent
e87e6a9a58
commit
bfd20c2662
|
@ -3,6 +3,9 @@
|
|||
#include "chunk.h"
|
||||
#include "log.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
/******************
|
||||
* chunkfile *
|
||||
******************/
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
|
||||
#include "log.h"
|
||||
#include "plugin_core.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#if REMOVE_PATH_FROM_FILE
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
#include "plugin_core.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
static action* core_list(server *srv, plugin* p, option *opt) {
|
||||
action *a;
|
||||
guint i;
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
void fatal(const gchar* msg) {
|
||||
fprintf(stderr, "%s\n", msg);
|
||||
abort();
|
||||
|
|
Loading…
Reference in New Issue