Browse Source

Add missing includes for open/fcntl

personal/stbuehler/wip
Stefan Bühler 14 years ago
parent
commit
bfd20c2662
  1. 3
      src/chunk.c
  2. 3
      src/log.c
  3. 3
      src/plugin_core.c
  4. 2
      src/utils.c

3
src/chunk.c

@ -3,6 +3,9 @@
#include "chunk.h"
#include "log.h"
#include <sys/stat.h>
#include <fcntl.h>
/******************
* chunkfile *
******************/

3
src/log.c

@ -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
src/plugin_core.c

@ -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;

2
src/utils.c

@ -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…
Cancel
Save