Windows does not provide sys/wait.h
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 15 Oct 2009 02:33:11 +0000 (22:33 -0400)
committerDerrick Brashear <shadow|account-1000005@unknown>
Thu, 15 Oct 2009 03:20:21 +0000 (20:20 -0700)
sys/wait.h was added to butm/file_tm.c by
patch set 789580d13591ff1aa53cfbf5fef4d46b0b65c805
(gerrit 635)

Reviewed-on: http://gerrit.openafs.org/662
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>

src/butm/file_tm.c

index c85a11b..e4e02e8 100644 (file)
 #include <afsconfig.h>
 #include <afs/param.h>
 
-
+#include <sys/types.h>
 #ifdef AFS_NT40_ENV
 #include <winsock2.h>
 #else
 #include <netinet/in.h>
-#endif
-#include <sys/types.h>
 #include <sys/wait.h>
+#endif
 #include <fcntl.h>
 #include <errno.h>
 #include <limits.h>