summaryrefslogtreecommitdiff
path: root/print/gv/patches/patch-ad
blob: 05a61d4595539b6976df16b669eaa49b5cddbc85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ad,v 1.5 2006/10/23 12:29:56 tron Exp $

--- src/file.c.orig	2005-08-10 13:33:21.000000000 +0200
+++ src/file.c
@@ -265,6 +265,9 @@ int file_fileIsDir(fn)
 /* file_fileIsNotUseful */
 /*############################################################*/
 
+#ifndef ENODATA
+#define ENODATA ENOMSG
+#endif
 int
 file_fileIsNotUseful(fn)
   char *fn;