#undef _FORTIFY_SOURCE /* stupid ubuntu warnings */#define __BSD_VISIBLE 1 /* FreeBSD 5.x */#define _BSD_SOURCE 1#define _NETBSD_SOURCE 1 /* NetBSD */#define _SVID_SOURCE 1#define _DEFAULT_SOURCE 1#if !defined(__APPLE__) && !defined(__OpenBSD__)# ifndef _XOPEN_SOURCE# define _XOPEN_SOURCE 1000# endif# ifndef _XOPEN_SOURCE_EXTENDED# define _XOPEN_SOURCE_EXTENDED 1# endif#endif#define _LARGEFILE64_SOURCE 1#define _FILE_OFFSET_BITS 64 #include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include <fcntl.h>#include <setjmp.h>#include <stddef.h>#include <time.h>#include <assert.h>#include <unistd.h>#include <stdarg.h>#include <inttypes.h>#include <ctype.h>#include <errno.h>#ifdef PTHREAD#include <pthread.h>#endif #ifdef TRACE_MALLOC#define malloc malloc0#define free free0void *malloc(size_t);void free(void *);#endif typedef long long p9_vlong;typedef unsigned long long p9_uvlong;typedef uintptr_t uintptr;
#undef _FORTIFY_SOURCE /* stupid ubuntu warnings */
#define __BSD_VISIBLE 1 /* FreeBSD 5.x */
#define _BSD_SOURCE 1
#define _NETBSD_SOURCE 1 /* NetBSD */
#define _SVID_SOURCE 1
#define _DEFAULT_SOURCE 1
#if !defined(__APPLE__) && !defined(__OpenBSD__)
# ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE 1000
# endif
# ifndef _XOPEN_SOURCE_EXTENDED
# define _XOPEN_SOURCE_EXTENDED 1
# endif
#endif
#define _LARGEFILE64_SOURCE 1
#define _FILE_OFFSET_BITS 64
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <fcntl.h>
#include <setjmp.h>
#include <stddef.h>
#include <time.h>
#include <assert.h>
#include <unistd.h>
#include <stdarg.h>
#include <inttypes.h>
#include <ctype.h>
#include <errno.h>
#ifdef PTHREAD
#include <pthread.h>
#endif
#ifdef TRACE_MALLOC
#define malloc malloc0
#define free free0
void *malloc(size_t);
void free(void *);
#endif
typedef long long p9_vlong;
typedef unsigned long long p9_uvlong;
typedef uintptr_t uintptr;