include unistd.h for read(2) prototype. Fixes dtdocbook on PowerPC.
authorPascal Stumpf <Pascal.Stumpf@cubes.de>
Tue, 23 Jul 2013 22:55:59 +0000 (00:55 +0200)
committerJon Trulson <jon@radscan.com>
Wed, 24 Jul 2013 01:01:13 +0000 (19:01 -0600)
There are a lot more warnings here, but this one was an actual bug.  Full
treatment pending ...

cde/programs/dtdocbook/instant/main.c

index 5f067975c9c20a5534714e08a4d00080f353d468..7cd0f95a9178021f9d88e2a680993634944d8449 100644 (file)
@@ -78,6 +78,7 @@ static char *CopyRt =
 #include <dirent.h>
 #include <time.h>
 #include <fcntl.h>
+#include <unistd.h>
 #include <locale.h>
 #include "LocaleXlate.h"
 #include "XlationSvc.h"