/***
 *** Misc. stuff. & configuration
 ***/

#ifndef _MISC_H
#define _MISC_H

#include <sys/types.h>

/*
 * Some general purpose stuff
 */

#ifndef TRUE
#  define TRUE (1)
#endif
#ifndef FALSE
#  define FALSE (0)
#endif
#ifndef UNDEFINED
#  define UNDEFINED (-1)
#endif

#ifndef MIN
#  define MIN(a, b)        ((a) < (b) ? (a) : (b))
#endif

#ifndef MAX
#  define MAX(a, b)       ((a) > (b) ? (a) : (b))
#endif
 
#endif

