/*
+ * $Id: asp_close.c,v 1.5 2009-10-13 22:55:37 didg Exp $
+ *
* Copyright (c) 1990,1991 Regents of The University of Michigan.
* All Rights Reserved.
*
* netatalk@itd.umich.edu
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
+
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/uio.h>
+#include <sys/socket.h>
+
#include <netatalk/at.h>
#include <atalk/atp.h>
#include <atalk/asp.h>
-int asp_close( asp )
- ASP asp;
+int asp_close(ASP asp)
{
struct atp_block atpb;
struct iovec iov[ 1 ];