Archived
1
0

include libraries: universal, unix only, system

This commit is contained in:
Erick
2022-01-29 22:46:36 +01:00
parent df5b1dc7d3
commit 3c51bd9b66
+19
View File
@@ -4,7 +4,26 @@
Written by Erick Ahmed, 2022
*/
#define IS_UNIX
/* universal libraries */
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <signal.h>
/* unix only libraries */
#ifdef IS_UNIX
#include <unistd.h>
#include <fcntl.h>
#endif
/* sys libraries */
#include <sys/time.h>
#include <sys/types.h>
#include <sys/termios.h>
#include <sys/mman.h>
#define TRUE 1
#define FALSE 0