]> code.delx.au - gnu-emacs/commitdiff
Always include sys/wait.h unless NOT_C_CODE;
authorRichard M. Stallman <rms@gnu.org>
Fri, 10 Nov 1995 16:42:06 +0000 (16:42 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 10 Nov 1995 16:42:06 +0000 (16:42 +0000)
don't test #ifdef emacs for that.

src/s/usg5-4.h

index d6b87ec19ae7e8e41521177bf75d8006bf3b0be6..047ef10557a9d5ed0c3daeacbc41b10e0b9d1470 100644 (file)
@@ -78,12 +78,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  * interfere.  And don't try to use SIGIO yet.
  */
 
+#ifndef NOT_C_CODE
+#include <sys/wait.h>
+#endif
+
 #ifdef emacs
 #include <sys/filio.h>
 #include <termio.h>
 #include <sys/ttold.h>
 #include <signal.h>
-#include <sys/wait.h>
 #include <sys/stream.h>
 #include <sys/stropts.h>
 #include <sys/termios.h>