Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#undef _FORTIFY_SOURCE	/* stupid ubuntu warnings */
2
#define __BSD_VISIBLE 1 /* FreeBSD 5.x */
3
#define _BSD_SOURCE 1
4
#define _NETBSD_SOURCE 1	/* NetBSD */
5
#define _SVID_SOURCE 1
6
#if !defined(__APPLE__) && !defined(__OpenBSD__)
7
#	define _XOPEN_SOURCE 1000
8
#	define _XOPEN_SOURCE_EXTENDED 1
9
#endif
10
#define _LARGEFILE64_SOURCE 1
11
#define _FILE_OFFSET_BITS 64
12
 
13
 
14
#include <stdio.h>
15
#include <stdlib.h>
16
#include <string.h>
17
#include <math.h>
18
#include <fcntl.h>
19
#include <setjmp.h>
20
#include <stddef.h>
21
#include <time.h>
22
#include <assert.h>
23
#include <unistd.h>
24
#include <stdarg.h>
25
#include <inttypes.h>
26
#include <ctype.h>
27
#include <errno.h>
28
#ifdef PTHREAD
29
#include <pthread.h>
30
#endif
31
 
32
typedef long long		p9_vlong;
33
typedef unsigned long long p9_uvlong;
34
typedef uintptr_t uintptr;