Remove a circular dependency in headers
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
#ifndef _IPC_H
|
||||
#define _IPC_H
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/signal.h>
|
||||
|
||||
#include <minix/ipcconst.h>
|
||||
#include <minix/type.h>
|
||||
#include <minix/const.h>
|
||||
#include <sys/signal.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
/*==========================================================================*
|
||||
* Types relating to messages. *
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
#ifndef _TYPE_H
|
||||
#define _TYPE_H
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/endian.h>
|
||||
|
||||
#include <machine/multiboot.h>
|
||||
|
||||
#ifndef _MINIX_SYS_CONFIG_H
|
||||
#include <minix/sys_config.h>
|
||||
#endif
|
||||
|
||||
#include <sys/sigtypes.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include <sys/sigtypes.h>
|
||||
#include <sys/times.h>
|
||||
#include <sys/timespec.h>
|
||||
|
||||
#include <machine/multiboot.h>
|
||||
|
||||
/* Type definitions. */
|
||||
typedef unsigned int vir_clicks; /* virtual addr/length in clicks */
|
||||
typedef unsigned long phys_bytes; /* physical addr/length in bytes */
|
||||
|
||||
Reference in New Issue
Block a user