Skip to content

Commit 5a2beac

Browse files
committed
fix: include header for getcwd()
gcc complains about implicit declaration of getcwd, which is defined in `unistd.h`. See `man 3 getcwd`[0] for more information. [0]: https://man.archlinux.org/man/getcwd.3
1 parent caf791a commit 5a2beac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mused.c

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ OTHER DEALINGS IN THE SOFTWARE.
3939
#include "diskop.h"
4040
#include <stdarg.h>
4141
#include <string.h>
42+
#include <unistd.h>
4243

4344
extern Mused mused;
4445
extern Menu editormenu[];

0 commit comments

Comments
 (0)