include cleanups: remove unused headers and add feature test macros

This commit is contained in:
Szabolcs Nagy 2013-12-12 05:09:18 +00:00
commit 571744447c
157 changed files with 68 additions and 207 deletions

View file

@ -1,5 +1,4 @@
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
void __procfdname(char *, unsigned);

View file

@ -1,5 +1,5 @@
#include <unistd.h>
#include <fcntl.h>
#include <stdlib.h>
#include <signal.h>
#include <sys/wait.h>
#include <spawn.h>

View file

@ -1,3 +1,4 @@
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"
#include "libc.h"