]> arthur.barton.de Git - netatalk.git/commitdiff
UUID_PRINTABLE_STRING_LENGTH is not defined on Linux libuuid
authorFrank Lahm <franklahm@googlemail.com>
Fri, 25 Jun 2010 13:21:57 +0000 (15:21 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Fri, 25 Jun 2010 13:21:57 +0000 (15:21 +0200)
etc/afpd/volume.c

index cfa2ea0a67ed93fe95d652dcb484d93de3971631..e91a347cb06bf9daf8006bf4d13cad2845441d7a 100644 (file)
@@ -77,6 +77,10 @@ extern int afprun(int root, char *cmd, int *outfd);
 #endif /* BYTE_ORDER == BIG_ENDIAN */
 #endif /* ! NO_LARGE_VOL_SUPPORT */
 
+#ifndef UUID_PRINTABLE_STRING_LENGTH
+#define UUID_PRINTABLE_STRING_LENGTH 37
+#endif
+
 static struct vol *Volumes = NULL;
 static u_int16_t    lastvid = 0;
 static char     *Trash = "\02\024Network Trash Folder";