diff --git a/.cproject b/.cproject
index 202d010..4131ae9 100644
--- a/.cproject
+++ b/.cproject
@@ -32,6 +32,7 @@
+
diff --git a/sys/fs/vfs/inode.c b/sys/fs/vfs/inode.c
index ebde27a..ac3cd8d 100644
--- a/sys/fs/vfs/inode.c
+++ b/sys/fs/vfs/inode.c
@@ -4,7 +4,8 @@
static struct inode *first_inode = NULL;
static struct wait_queue *inode_wait = NULL;
-static int nr_inodes = 0, nr_free_inodes = 0;
+static int nr_inodes = 0;
+static int nr_free_inodes = 0;
static void write_inode(struct inode * inode);
static void __wait_on_inode(struct inode * inode);
diff --git a/sys/include/i386/elf.h b/sys/include/i386/elf.h
index be6287c..356f0df 100644
--- a/sys/include/i386/elf.h
+++ b/sys/include/i386/elf.h
@@ -184,15 +184,4 @@
#endif /* __i386__, __amd64__ */
-#include
-
-#define elfExecutable 0x002
-#define elfLibrary 0x003
-
-char *elfGetShType( int );
-char *elfGetPhType( int );
-char *elfGetRelType( int );
-
-int elf_load_file( kTask_t *p, const char *file, uint32_t *addr, uint32_t *entry );
-
#endif
diff --git a/sys/include/sys/elf.h b/sys/include/sys/elf.h
index 2cb4336..eedb3dd 100644
--- a/sys/include/sys/elf.h
+++ b/sys/include/sys/elf.h
@@ -30,6 +30,8 @@
#ifndef _SYS_ELF_H_
#define _SYS_ELF_H_ 1
+#define __i386__ 1
+
#include
#include
#include
@@ -73,4 +75,16 @@
Elf_Addr pcpu_base; /* Relocated pcpu set address. */
} *elf_file_t;
+
+#include
+
+#define elfExecutable 0x002
+#define elfLibrary 0x003
+
+char *elfGetShType( int );
+char *elfGetPhType( int );
+char *elfGetRelType( int );
+
+int elf_load_file( kTask_t *p, const char *file, uint32_t *addr, uint32_t *entry );
+
#endif