blob: 6f899312c23c5627ed748279d29e36f16d1d6e97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ab,v 1.2 1998/08/07 11:14:07 agc Exp $
--- comm.h.orig Tue Sep 19 15:02:20 1995
+++ comm.h Sat Jul 18 22:40:04 1998
@@ -6,6 +6,10 @@
#ifndef COMM_H
#define COMM_H
+#include <sys/param.h>
+#ifdef MAXCOMLEN
+#define COMM_LEN MAXCOMLEN
+#else
#if 0 /* broken in 1.3.xx */
#include <linux/sched.h>
#define COMM_LEN sizeof(dummy.comm)
@@ -14,5 +18,6 @@
#define COMM_LEN 16 /* synchronize with size of comm in struct task_struct in
/usr/include/linux/sched.h */
#endif
+#endif /* MAXCOMLEN */
#endif
|