syswaith no such directory
The error message "sys/wait.h: no such directory" means that the compiler cannot find the specified header file "sys/wait.h".
This header file is part of the C standard library and is usually located in the system include directories.
To resolve this issue, you need to make sure that you have the necessary development libraries and headers installed on your system.
If you are using a Linux-based system, you can typically install the required packages using the package manager. For example, on Ubuntu, you can use the following command to install the necessary packages:
sudo apt-get install libc6-dev
If you are using a different operating system or distribution, the package name may vary. You can search for the package using the package manager or consult the documentation for your specific system
原文地址: https://www.cveoy.top/t/topic/hB4M 著作权归作者所有。请勿转载和采集!