Fudge PNG macro detection based on version of libpng.
[fvwm.git] / modules / FvwmCommand / FvwmCommand.h
blob4b01f44c6c12b25925eb93b8d7213c3638f17443
1 /* -*-c-*- */
2 #include <unistd.h>
3 #include <stdio.h>
4 #include <sys/types.h>
5 #include "libs/ftime.h"
6 #include <sys/wait.h>
8 #if HAVE_GETOPT_H
9 #include <getopt.h>
10 #endif
12 #include <errno.h>
14 #include "libs/Module.h"
15 #include "libs/fvwmlib.h"
16 #include "fvwm/fvwm.h"
17 #include "libs/vpacket.h"
18 #include "libs/fvwm_sys_stat.h"
20 #ifndef HAVE_STRERROR
21 extern char *sys_errlist[];
22 #define strerror(_e) (sys_errlist[_e])
23 #endif
26 #define F_NAME "FvwmCommand-"
28 /* number of default arguments when invoked from fvwm */
29 #define FARGS 6
31 #define SOL sizeof( unsigned long )
33 #ifndef HAVE_MKFIFO
34 #define mkfifo(path, mode) ((errno = ENOSYS) - ENOSYS - 1)
35 #endif
38 char * fifos_get_default_name(void);