diff options
author | NRK <nrk@disroot.org> | 2022-10-27 02:14:53 +0600 |
---|---|---|
committer | drkhsh <me@drkhsh.at> | 2022-10-26 23:32:07 +0200 |
commit | c67e9f82653adb92ce38d5b960a0501a2754beaa (patch) | |
tree | 2d415abf274f910a09059afaadcc6c146aa1b7a4 /components/run_command.c | |
parent | 9396b85faece7f57f8fd85e329d1f68b3183bbfb (diff) |
components/*.c: include slstatus.h
this gives the compiler a chance to check weather the prototype and
definiton matches or not, which would catch issues like 3c47701.
Diffstat (limited to 'components/run_command.c')
-rw-r--r-- | components/run_command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/run_command.c b/components/run_command.c index e00b478..be7d9e2 100644 --- a/components/run_command.c +++ b/components/run_command.c @@ -3,6 +3,7 @@ #include <string.h> #include "../util.h" +#include "../slstatus.h" const char * run_command(const char *cmd) |