blob: 6cf1712371d5dfc7713c9daf228cac5017b674b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
$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>
|