]> arthur.barton.de Git - netatalk.git/commitdiff
fix a compile warning (ioctl on solaris)
authorbfernhomberg <bfernhomberg>
Tue, 15 Jun 2004 01:10:07 +0000 (01:10 +0000)
committerbfernhomberg <bfernhomberg>
Tue, 15 Jun 2004 01:10:07 +0000 (01:10 +0000)
etc/atalkd/route.c

index 9f363d5129b7e706280531c480c89d1c6152b6ca..df56474237d514fdce2eeb1a24e7bf02a74090b6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: route.c,v 1.6 2002-01-17 06:10:12 srittau Exp $
+ * $Id: route.c,v 1.6.10.1 2004-06-15 01:10:07 bfernhomberg Exp $
  *
  * Copyright (c) 1990,1996 Regents of The University of Michigan.
  * All Rights Reserved. See COPYRIGHT.
@@ -9,13 +9,15 @@
 #include "config.h"
 #endif /* HAVE_CONFIG_H */
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 #include <string.h>
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <net/route.h>
 #include <sys/ioctl.h>
-
 #include <netatalk/at.h>
 
 #include "rtmp.h"