glibc

ドライバ開発をしていて、ユーザーランドのプログラムを作ろうとしたら、

userland.c:6:19: error: stdio.h: No such file or directory
userland.c:7:19: error: fcntl.h: No such file or directory
userland.c: In function ‘main’:
userland.c:14: error: ‘O_RDWR’ undeclared (first use in this function)
userland.c:14: error: (Each undeclared identifier is reported only once
userland.c:14: error: for each function it appears in.)

なんて言われてしまった。気がつくと、glibcさえ入っていなかった…。悲しすぎるぞ、Fedoraよ…。