]> arthur.barton.de Git - netatalk.git/commitdiff
FreeBSD needs __BSD_VISIBLE to be defined to pull u_short, u_char, etc. in.
authorAkinori MUSHA <knu@idaemons.org>
Sat, 30 Jul 2011 03:33:08 +0000 (12:33 +0900)
committerAkinori MUSHA <knu@idaemons.org>
Sat, 30 Jul 2011 03:38:22 +0000 (12:38 +0900)
etc/cnid_dbd/comm.c

index 083d27a7d8022129c9c8f8ffb4f22571e5ce8842..ddbc9855294e72b511f1042566666d71f8dafc7c 100644 (file)
 #ifndef _GNU_SOURCE
 # define _GNU_SOURCE
 #endif
+#ifndef __BSD_VISIBLE
+/* for u_short, u_char, etc. */
+# define __BSD_VISIBLE 1
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>