openalbridge/globals.h
changeset 2418 538a777f90c4
parent 2417 f7ed1ea25050
child 2419 dbaaba09146d
--- a/openalbridge/globals.h	Sun Oct 11 16:23:59 2009 +0000
+++ b/openalbridge/globals.h	Sun Oct 11 20:14:55 2009 +0000
@@ -22,7 +22,10 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdint.h>
+#include <stdarg.h>
+#include <syslog.h>
 #include <string.h>
+#include <errno.h>
 
 #ifndef _WIN32
 #include <pthread.h>
@@ -31,8 +34,15 @@
 #endif
 
 #include "al.h"
+#include "errlib.h"
 
 
+#ifdef TRACE
+#ifndef DEBUG
+#define DEBUG
+#endif
+#endif
+
 /** 1.0 02/03/10 - Defines cross-platform sleep, usleep, etc. [Wu Yongwei] **/
 #ifndef _SLEEP_H
 #define _SLEEP_H
@@ -126,8 +136,10 @@
       
 
 /*other defines*/
-#define FADE_IN	 0
+#define FADE_IN  0
 #define FADE_OUT 1
+
+        char *prog;
         
 #ifdef __CPLUSPLUS
 }