Skip to content

Commit

Permalink
lib/user_busy.c: Include <utmpx.h>
Browse files Browse the repository at this point in the history
Since:
- utmpx APIs are used in non-Linux code blocks
- <utmpx.h> is already unconditionally included in Linux parts in other
  files
then unconditionally include it in this file as well.

Signed-off-by: Pino Toscano <toscano.pino@tiscali.it>
  • Loading branch information
pinotree authored and alejandro-colomar committed Sep 12, 2024
1 parent 1f11a5c commit b2b3786
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/user_busy.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h>
#include <utmpx.h>

#include "atoi/getnum.h"
#include "defines.h"
Expand Down

0 comments on commit b2b3786

Please sign in to comment.