summaryrefslogtreecommitdiff
path: root/net/netatalk-devel/files/patch-ad
blob: 7a77d36d9e3093dc79d4d2692ad133eff2d56003 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- libatalk/cnid/cnid_get.c.orig	Wed Aug 15 12:16:25 2001
+++ libatalk/cnid/cnid_get.c	Wed Aug 29 15:49:52 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>
@@ -57,3 +58,4 @@
   memcpy(&id, data.data, sizeof(id));
   return id;
 }
+#endif /* CNID_DB */