Source
13
13
** GNU General Public License for more details.
14
14
**
15
15
** You should have received a copy of the GNU General Public License
16
16
** along with this program; if not, write to the Free Software
17
17
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
18
**/
19
19
20
20
#ifndef ZABBIX_SETPROCTITLE_H
21
21
#define ZABBIX_SETPROCTITLE_H
22
22
23
+
#include "sysinc.h"
24
+
23
25
#if defined(__linux__) /* Linux */
24
26
# define PS_OVERWRITE_ARGV
25
27
#elif defined(_AIX) /* AIX */
26
28
# define PS_OVERWRITE_ARGV
27
29
# define PS_CONCAT_ARGV
28
30
#elif defined(__sun) && defined(__SVR4) /* Solaris */
29
31
# define PS_OVERWRITE_ARGV
30
32
# define PS_APPEND_ARGV
31
33
#elif defined(HAVE_SYS_PSTAT_H) /* HP-UX */
32
34
# define PS_PSTAT_ARGV