]> arthur.barton.de Git - netatalk.git/blobdiff - bin/afile/common.c
massive commenting/autoconf changes
[netatalk.git] / bin / afile / common.c
index d0bea8eda537476a85e819e1ce2a9b5686662c7e..6ec68a56443aed671d45adf920eb025349e4f8c6 100644 (file)
@@ -1,4 +1,7 @@
-/*  common functions, defines, and structures for afile, achfile, and acleandir
+/*
+ * $Id: common.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ *
+    common functions, defines, and structures for afile, achfile, and acleandir
 
     Copyright (C) 2001 Sebastian Rittau.
     All rights reserved.
     SUCH DAMAGE.
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
+
 #include <stdlib.h>
 #include <string.h>
 
 #include <sys/types.h>
 #include <sys/stat.h>
+#ifdef HAVE_FCNTL_H
 #include <fcntl.h>
+#endif /* HAVE_FCNTL_H */
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif /* HAVE_UNISTD_H */
 
 #include <atalk/adouble.h>
 #include <netatalk/endian.h>