I've been looking at other questions and none of the solutions have worked so I'll ask my own question.
I'm working on a linux VM and having trouble compiling my code, here are my includes, the error received by the compiler and the code its referring to:
Error:
linux.c:156:11: warning: implicit declaration of function 'scan_s' [-Wimplicit-function-declaration]
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include "ctype.h"
scanf_s("%[^\n]s", filename, maxFilename);