16 lines
308 B
C
16 lines
308 B
C
$NetBSD: patch-fdm.h,v 1.1 2012/08/23 18:04:12 marino Exp $
|
|
|
|
--- fdm.h.orig 2012-08-23 17:13:57.000000000 +0000
|
|
+++ fdm.h
|
|
@@ -71,6 +71,10 @@
|
|
|
|
extern char *__progname;
|
|
|
|
+#ifndef MAXNAMLEN
|
|
+#define MAXNAMLEN NAME_MAX
|
|
+#endif
|
|
+
|
|
/* Linux compatibility bullshit. */
|
|
#ifndef UID_MAX
|
|
#define UID_MAX UINT_MAX
|