summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/v850/bits/syscalls.h
blob: c2bc74f2c4c38434145f5ca5aa584196bc3dbb5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _BITS_SYSCALLS_H
#define _BITS_SYSCALLS_H
#ifndef _SYSCALL_H
# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif

#include <features.h>

/* Do something very evil for now.  Until we create our own syscall
 * macros, short circuit bits/sysnum.h  and use asm/unistd.h instead */
#warning "fixme -- add arch specific syscall macros.h"
#include <asm/unistd.h>

/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
 * header files.  It also defines the traditional `SYS_<name>' macros for older
 * programs.  */
#include <bits/sysnum.h>

#endif /* _BITS_SYSCALLS_H */