diff --git a/include/time.h b/include/time.h index cdace14..284932a 100644 --- a/include/time.h +++ b/include/time.h @@ -30,8 +30,8 @@ #include #include struct sigevent; -#include #endif +#include struct tm { unsigned int tm_sec : 6; @@ -45,12 +45,12 @@ struct tm { int tm_isdst : 2; }; -#ifdef _POSIX_C_SOURCE struct timespec { time_t tv_sec; long int tv_nsec; }; +#ifdef _POSIX_C_SOURCE struct itimerspec { struct timespec it_interval; struct timespec it_value; diff --git a/include/unistd.h b/include/unistd.h index 56e9ae5..793af31 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -51,8 +51,6 @@ #define _XOPEN_ENH_I18N 700 #define _XOPEN_SHM 700 -#include - #define R_OK 01 #define W_OK 02 #define X_OK 04 @@ -65,11 +63,4 @@ #define F_TLOCK 03 #define F_ULOCK 04 -#include - -pid_t fork(void); -int execv(const char *, char *const []); -int execve(const char *, char *const [], char *const []); -int execvp(const char *, char *const []); - #endif