summaryrefslogtreecommitdiff
path: root/net/netatalk-devel/files/patch-ai
blob: bcf728a4193ad38287e189ac0cda98a4797e869c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- libatalk/cnid/cnid_update.c.orig	Fri Aug 17 00:30:30 2001
+++ libatalk/cnid/cnid_update.c	Wed Aug 29 15:50:39 2001
@@ -6,6 +6,7 @@
 #include "config.h"
 #endif /* HAVE_CONFIG_H */
 
+#ifdef CNID_DB
 #include <stdio.h>
 #include <string.h>
 #include <sys/param.h>
@@ -136,3 +137,4 @@
   syslog(LOG_ERR, "cnid_update: can't update CNID(%x)", id);
   return -1;
 }
+#endif /* CNID_DB */