| 1 |
/* standard.h |
| 2 |
$Id: standard.h,v 1.7 1997/10/23 06:00:47 elf Exp $ |
| 3 |
|
| 4 |
written by Marc Singer |
| 5 |
8 May 1997 |
| 6 |
|
| 7 |
This file is part of the project XO. See the file README for |
| 8 |
more information. |
| 9 |
|
| 10 |
Copyright (C) 1997 Marc Singer |
| 11 |
|
| 12 |
This program is free software; you can redistribute it and/or |
| 13 |
modify it under the terms of the GNU General Public License as |
| 14 |
published by the Free Software Foundation; either version 2 of the |
| 15 |
License, or (at your option) any later version. |
| 16 |
|
| 17 |
This program is distributed in the hope that it will be useful, but |
| 18 |
WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 20 |
General Public License for more details. |
| 21 |
|
| 22 |
You should have received a copy of the GNU General Public License |
| 23 |
in a file called COPYING along with this program; if not, write to |
| 24 |
the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA |
| 25 |
02139, USA. |
| 26 |
|
| 27 |
----------- |
| 28 |
DESCRIPTION |
| 29 |
----------- |
| 30 |
|
| 31 |
*/ |
| 32 |
|
| 33 |
#if !defined (__STANDARD_H__) |
| 34 |
# define __STANDARD_H__ |
| 35 |
|
| 36 |
/* ----- Includes */ |
| 37 |
|
| 38 |
#include "config.h" // autoconf configuration header |
| 39 |
|
| 40 |
#if defined (STDC_HEADERS) |
| 41 |
# include <stdio.h> |
| 42 |
# include <stdlib.h> |
| 43 |
# include <stdarg.h> |
| 44 |
#endif |
| 45 |
#if defined (HAVE_UNISTD_H) |
| 46 |
# include <unistd.h> |
| 47 |
#endif |
| 48 |
|
| 49 |
#if defined (HAVE_LIMITS_H) |
| 50 |
# include "limits.h" |
| 51 |
#endif |
| 52 |
|
| 53 |
#include <X11/Xlib.h> |
| 54 |
#include <X11/Xutil.h> |
| 55 |
#include <X11/Xresource.h> |
| 56 |
#include <X11/Xatom.h> |
| 57 |
|
| 58 |
//#include "dmalloc.h" |
| 59 |
|
| 60 |
// ----- Typedefs |
| 61 |
|
| 62 |
typedef signed char int8; |
| 63 |
typedef unsigned char unsigned8; |
| 64 |
typedef short int16; |
| 65 |
typedef unsigned short unsigned16; |
| 66 |
typedef signed long int32; |
| 67 |
typedef signed long long int64; |
| 68 |
typedef unsigned long unsigned32; |
| 69 |
typedef unsigned long long unsigned64; |
| 70 |
|
| 71 |
|
| 72 |
#endif /* __STANDARD_H__ */ |