Add <unistd.h> include for getopt()
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 00:29:37 +0000 (00:29 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 00:29:37 +0000 (00:29 +0000)
cde/lib/tt/bin/tt_type_comp/mp_type_comp.C

index 819ce61712c60e7023e355e0e2a187578286d29c..21378d39ba375e50c2512854afad8439d2f32e67 100644 (file)
@@ -39,6 +39,9 @@
 #include <locale.h>
 #include <stdlib.h>
 #include <string.h>
+#if defined(linux)
+#include <unistd.h>
+#endif
 #if defined(sgi)
 #include <getopt.h>
 #endif