Remove yet more kernel header dependancies.
-Erik
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
#ifndef __alpha__
|
||||
# define __NR_klogctl __NR_syslog
|
||||
#include <linux/unistd.h>
|
||||
#include <sys/syscall.h>
|
||||
static inline _syscall3(int, klogctl, int, type, char *, b, int, len);
|
||||
#else /* __alpha__ */
|
||||
#define klogctl syslog
|
||||
|
@@ -28,7 +28,7 @@
|
||||
#include <mntent.h>
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <linux/unistd.h>
|
||||
#include <sys/syscall.h>
|
||||
|
||||
_syscall2(int, swapon, const char *, path, int, flags);
|
||||
_syscall1(int, swapoff, const char *, path);
|
||||
|
Reference in New Issue
Block a user