![]() ![]() | ![]() |
added check for missing function in NetBSD added check for missing header in NetBSD fix type in snprintf in amd64
/************************************************************************* * (C) 2010 AITNET ltd - Sofia/Bulgaria - <misho@aitbg.com> * by Michael Pounov <misho@openbsd-bg.org> * * $Author: misho $ * $Id: global.h,v 1.1.1.1.2.2 2011/05/08 00:49:45 misho Exp $ * *************************************************************************/ #ifndef __GLOBAL_H #define __GLOBAL_H #include "config.h" #include <stdio.h> #include <stdarg.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <stdlib.h> #include <errno.h> #include <assert.h> #include <zlib.h> #include <dirent.h> #include <sys/types.h> #if !defined(__NetBSD__) #include <sys/limits.h> #endif #include <sys/param.h> #include <sys/stat.h> #include <sys/mman.h> #include <openssl/md5.h> #include <aitcrc.h> #include "aitsync.h" #include "defs.h" #endif