Fix missing includes from private kernel headers.

This commit is contained in:
Jonas 'Sortie' Termansen 2014-02-25 22:39:57 +01:00
parent 739f8ba865
commit 6419df7a6d
16 changed files with 45 additions and 0 deletions

View file

@ -25,6 +25,8 @@
#ifndef INCLUDE_SORTIX_KERNEL_ADDRALLOC_H
#define INCLUDE_SORTIX_KERNEL_ADDRALLOC_H
#include <stddef.h>
#include <sortix/kernel/decl.h>
namespace Sortix {

View file

@ -25,6 +25,11 @@
#ifndef INCLUDE_SORTIX_KERNEL_FCACHE_H
#define INCLUDE_SORTIX_KERNEL_FCACHE_H
#include <sys/types.h>
#include <stddef.h>
#include <stdint.h>
#include <sortix/kernel/addralloc.h>
#include <sortix/kernel/kthread.h>
#include <sortix/kernel/memorymanagement.h>

View file

@ -25,6 +25,8 @@
#ifndef SORTIX_FSFUNC_H
#define SORTIX_FSFUNC_H
#include <sys/types.h>
namespace Sortix {
static inline bool IsDotOrDotDot(const char* path)

View file

@ -25,6 +25,9 @@
#ifndef SORTIX_KEYBOARD_H
#define SORTIX_KEYBOARD_H
#include <stddef.h>
#include <stdint.h>
namespace Sortix {
class Keyboard;

View file

@ -25,6 +25,11 @@
#ifndef INCLUDE_SORTIX_KERNEL_MEMORYMANAGEMENT_H
#define INCLUDE_SORTIX_KERNEL_MEMORYMANAGEMENT_H
#include <stddef.h>
#include <stdint.h>
#include <sortix/kernel/decl.h>
typedef struct multiboot_info multiboot_info_t;
namespace Sortix {

View file

@ -25,6 +25,8 @@
#ifndef SORTIX_MTABLE_H
#define SORTIX_MTABLE_H
#include <sys/types.h>
#include <sortix/kernel/kthread.h>
#include <sortix/kernel/refcount.h>

View file

@ -25,6 +25,11 @@
#ifndef INCLUDE_SORTIX_KERNEL_PIPE_H
#define INCLUDE_SORTIX_KERNEL_PIPE_H
#include <sys/types.h>
#include <sortix/kernel/ioctx.h>
#include <sortix/kernel/poll.h>
namespace Sortix {
class PipeChannel;

View file

@ -25,6 +25,9 @@
#ifndef INCLUDE_SORTIX_KERNEL_SEGMENT_H
#define INCLUDE_SORTIX_KERNEL_SEGMENT_H
#include <stddef.h>
#include <stdint.h>
namespace Sortix {
class Process;

View file

@ -27,6 +27,7 @@
#define INCLUDE_SORTIX_KERNEL_SORTEDLIST_H
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
namespace Sortix {

View file

@ -25,6 +25,8 @@
#ifndef SORTIX_STRING_H
#define SORTIX_STRING_H
#include <stddef.h>
namespace Sortix {
namespace String {

View file

@ -25,6 +25,9 @@
#ifndef INCLUDE_SORTIX_KERNEL_SYMBOL_H
#define INCLUDE_SORTIX_KERNEL_SYMBOL_H
#include <stddef.h>
#include <stdint.h>
namespace Sortix {
struct Symbol

View file

@ -25,6 +25,8 @@
#ifndef INCLUDE_SORTIX_KERNEL_SYSCALL_H
#define INCLUDE_SORTIX_KERNEL_SYSCALL_H
#include <stddef.h>
#include <sortix/syscallnum.h>
namespace Sortix {

View file

@ -25,6 +25,10 @@
#ifndef SORTIX_TEXTBUFFER_H
#define SORTIX_TEXTBUFFER_H
#include <sys/types.h>
#include <stdint.h>
#include <sortix/kernel/kthread.h>
#include <sortix/kernel/refcount.h>

View file

@ -25,6 +25,8 @@
#ifndef INCLUDE_SORTIX_KERNEL_USER_TIMER_H
#define INCLUDE_SORTIX_KERNEL_USER_TIMER_H
#include <sys/types.h>
#include <sortix/sigevent.h>
#include <sortix/kernel/timer.h>

View file

@ -25,6 +25,8 @@
#ifndef SORTIX_VIDEO_H
#define SORTIX_VIDEO_H
#include <sys/types.h>
#include <sortix/kernel/refcount.h>
namespace Sortix {

View file

@ -25,6 +25,8 @@
#ifndef SORTIX_WORKER_H
#define SORTIX_WORKER_H
#include <stddef.h>
namespace Sortix {
namespace Worker {