42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
|
$NetBSD: patch-ab,v 1.1.1.1 2003/06/23 13:55:24 agc Exp $
|
||
|
|
||
|
--- config.h 2003/05/19 16:02:37 1.1
|
||
|
+++ config.h 2003/05/19 16:03:51
|
||
|
@@ -23,7 +23,7 @@
|
||
|
/* Define one of the following where appropriate */
|
||
|
/************************************************************************/
|
||
|
|
||
|
-#define LINUX
|
||
|
+/* #define LINUX */
|
||
|
/* #define SUNOS */
|
||
|
/* #define IRIX */
|
||
|
/* #define ULTRIX */
|
||
|
@@ -45,14 +45,14 @@
|
||
|
/* since PATHUNTCX must run setuid to root. */
|
||
|
/************************************************************************/
|
||
|
|
||
|
-#define PATHUNTCX "/usr/local/bin/untcx"
|
||
|
+#define PATHUNTCX @PREFIX@ "/bin/untcx"
|
||
|
|
||
|
/************************************************************************/
|
||
|
/* PATHTCX is the pathname to the tcx executable. This does not have to*/
|
||
|
/* be installed setuid. */
|
||
|
/************************************************************************/
|
||
|
|
||
|
-#define PATHTCX "/usr/local/bin/tcx"
|
||
|
+#define PATHTCX @PREFIX@ "/bin/tcx"
|
||
|
|
||
|
/************************************************************************/
|
||
|
/* PATHPACKER is the pathname to the compression program you wish to use*/
|
||
|
@@ -143,6 +143,10 @@
|
||
|
#define PUSLEEP(x) (usleep(x))
|
||
|
#endif
|
||
|
|
||
|
+#ifndef PUSLEEP
|
||
|
+#define PUSLEEP(x) (usleep(x))
|
||
|
+#endif
|
||
|
+
|
||
|
#include <stdlib.h>
|
||
|
#include <unistd.h>
|
||
|
#include <sys/time.h>
|