comparison lib-src/test-distrib.c @ 112317:7df2e30d72ec

Include <unistd.h> unilaterally.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 09 Jan 2011 00:12:35 -0800
parents ae7e9ce45a16
children 17e0028efc29
comparison
equal deleted inserted replaced
112316:2887524f362a 112317:7df2e30d72ec
20 20
21 21
22 #include <config.h> 22 #include <config.h>
23 #include <stdio.h> 23 #include <stdio.h>
24 #include <fcntl.h> 24 #include <fcntl.h>
25
26 #ifdef HAVE_UNISTD_H
27 #include <unistd.h> 25 #include <unistd.h>
28 #endif
29 26
30 /* Break string in two parts to avoid buggy C compilers that ignore characters 27 /* Break string in two parts to avoid buggy C compilers that ignore characters
31 after nulls in strings. */ 28 after nulls in strings. */
32 29
33 char string1[] = "Testing distribution of nonprinting chars:\n\ 30 char string1[] = "Testing distribution of nonprinting chars:\n\