Skip to content
Snippets Groups Projects
Commit 54a88501 authored by Tony Farrell's avatar Tony Farrell Committed by afarrell
Browse files

Fix linux build errors

	Fix linux build errors.
parent a4ccf473
No related branches found
Tags 1.31
No related merge requests found
......@@ -60,8 +60,10 @@ static const char *rcsId="@(#) $Id$";
static void *use_rcsId = (0 ? (void *)(&use_rcsId) : (void *) &rcsId);
#define __EXTENSIONS__ 1
#define _GNU_SOURCE
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <fcntl.h>
#include <sys/time.h>
#include <stdio.h>
......@@ -69,7 +71,7 @@ static void *use_rcsId = (0 ? (void *)(&use_rcsId) : (void *) &rcsId);
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/syslimits.h>
#include <signal.h>
#define CHECK_TIME 30 /* Seconds after which we write a message to log */
#define TIMEOUT 3600 /* AFter this many seconds, abort */
......@@ -322,8 +324,8 @@ static void cleanup(
const char * const fifo2)
{
char *libDir = 0;
char cmdName[PATH_MAX];
char fullCmd[PATH_MAX+PATH_MAX+PATH_MAX+3];
char cmdName[MAXPATHLEN];
char fullCmd[MAXPATHLEN+MAXPATHLEN+MAXPATHLEN+3];
int result;
if ((libDir = getenv(ACMM_LIBDIR)) == 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment