#include <sys/stat.h>
#include <fcntl.h>
#include <sys/wait.h>
-#include <signal.h>
-#include <sys/signal.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <time.h> /* time(), localtime() */
#include <unistd.h>
#include <errno.h>
#include <limits.h>
#include <stdarg.h>
-#include <stropts.h>
-#include <poll.h>
-#include <sys/socket.h>
+#include <ctype.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#include <sys/ipc.h>
-#include <sys/sem.h>
-#include <ctype.h>
+#include <sys/socket.h>
#include <sys/un.h> /* needed by create_pf_socket */
+#include <string.h>
#include "gcc-compat.h"
/* some internal constants */
#define MAXLINE 255
-#define MIN(a,b) ((a) < (b) ? (a) : (b))
-#define MAX(a,b) ((a) > (b) ? (a) : (b))
-#define ABS(a) ((a) > 0 ? (a) : -(a))
+#define PARA_MIN(a,b) ((a) < (b) ? (a) : (b))
+#define PARA_MAX(a,b) ((a) > (b) ? (a) : (b))
+#define PARA_ABS(a) ((a) > 0 ? (a) : -(a))
/* Loglevels */
#define DEBUG 1
int read_audiod_pipe(int, void (*)(char *));
/* exec */
-int file_exists(const char *);
int para_exec_cmdline_pid(pid_t *pid, const char *cmdline, int *fds);
/* signal */
p = para_realloc(p, size); \
} \
}
-
-
-