conterm/include/unix.h

35 lines
768 B
C
Raw Normal View History

#undef _FORTIFY_SOURCE /* stupid ubuntu warnings */
2007-06-23 02:06:34 +04:00
#define __BSD_VISIBLE 1 /* FreeBSD 5.x */
#define _BSD_SOURCE 1
#define _NETBSD_SOURCE 1 /* NetBSD */
#define _SVID_SOURCE 1
#if !defined(__APPLE__) && !defined(__OpenBSD__)
# define _XOPEN_SOURCE 1000
# define _XOPEN_SOURCE_EXTENDED 1
#endif
#define _LARGEFILE64_SOURCE 1
#define _FILE_OFFSET_BITS 64
2005-08-08 16:50:13 +04:00
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <fcntl.h>
#include <setjmp.h>
2007-06-23 02:06:34 +04:00
#include <stddef.h>
2005-08-08 16:50:13 +04:00
#include <time.h>
#include <assert.h>
#include <unistd.h>
#include <stdarg.h>
2006-01-17 16:55:02 +03:00
#include <inttypes.h>
#include <ctype.h>
#include <errno.h>
#ifdef PTHREAD
#include <pthread.h>
#endif
2005-08-08 16:50:13 +04:00
typedef long long p9_vlong;
typedef unsigned long long p9_uvlong;
2006-01-17 16:55:02 +03:00
typedef uintptr_t uintptr;