|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* $Id: bomberclone.h,v 1.11 2003/05/06 20:48:53 stpohle Exp $ */
|
|
|
|
|
/* $Id: bomberclone.h,v 1.12 2003/05/06 22:33:40 ob1kenewb Exp $ */
|
|
|
|
|
/* bomberclone.h */
|
|
|
|
|
|
|
|
|
|
#ifndef _BOMBERCLONE_H_
|
|
|
|
@ -11,23 +11,26 @@
|
|
|
|
|
#include <fcntl.h>
|
|
|
|
|
#include <time.h>
|
|
|
|
|
#include <ctype.h>
|
|
|
|
|
#include <dirent.h>
|
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
#include <winsock.h>
|
|
|
|
|
#define IS_DIR(a) ((a & _S_IFDIR) == _S_IFDIR)
|
|
|
|
|
#define IS_REG(a) ((a & _S_IFREG) == _S_IFREG)
|
|
|
|
|
#include <winsock.h>
|
|
|
|
|
#include "../confdefs.h"
|
|
|
|
|
#include <glib.h>
|
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
#define S_ISDIR(a) ((a & _S_IFDIR) == _S_IFDIR)
|
|
|
|
|
#define S_ISREG(a) ((a & _S_IFREG) == _S_IFREG)
|
|
|
|
|
#else
|
|
|
|
|
#include <sys/time.h>
|
|
|
|
|
#include <sys/socket.h>
|
|
|
|
|
#include <netinet/in.h>
|
|
|
|
|
#include <netdb.h>
|
|
|
|
|
#include <arpa/inet.h>
|
|
|
|
|
#include <unistd.h>
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/time.h>
|
|
|
|
|
#include <sys/socket.h>
|
|
|
|
|
#include <netinet/in.h>
|
|
|
|
|
#include <netdb.h>
|
|
|
|
|
#include <arpa/inet.h>
|
|
|
|
|
#include <unistd.h>
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <dirent.h>
|
|
|
|
|
#include "../config.h"
|
|
|
|
|
#endif
|
|
|
|
|
#include <SDL.h>
|
|
|
|
|
#include "../config.h"
|
|
|
|
|
#include "gfx.h"
|
|
|
|
|
#include "network.h"
|
|
|
|
|
#include "sysfunc.h"
|
|
|
|
|