diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-29 00:30:33 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-29 00:30:33 -0500 |
commit | 6f6f04f6a4817ec5d4e4d9fd3c4ac37894c2da2b (patch) | |
tree | e23d1f36545e5258a59f6f99aea0629d1b7d9bf9 | |
parent | f8037463ee0fa557761bbd0db98bd4e5702fe314 (diff) | |
download | gcompat-6f6f04f6a4817ec5d4e4d9fd3c4ac37894c2da2b.tar.gz gcompat-6f6f04f6a4817ec5d4e4d9fd3c4ac37894c2da2b.tar.bz2 gcompat-6f6f04f6a4817ec5d4e4d9fd3c4ac37894c2da2b.tar.xz gcompat-6f6f04f6a4817ec5d4e4d9fd3c4ac37894c2da2b.zip |
Use <utmpx.h> for struct utmp definiton
-rwxr-xr-x | .travis/install | 2 | ||||
-rw-r--r-- | libgcompat/utmp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.travis/install b/.travis/install index 6f95946..6bd03de 100755 --- a/.travis/install +++ b/.travis/install @@ -8,7 +8,7 @@ chmod a+x /tmp/apk.static mkdir -p "$NEWROOT"/etc/apk/keys cp "$CLONE_DIR"/.travis/*.pub "$NEWROOT"/etc/apk/keys/ -/tmp/apk.static -X "https://distfiles.adelielinux.org/adelie/current/system" --root "$NEWROOT" --initdb --no-progress add adelie-core bash-binsh musl-dev gcc binutils make +/tmp/apk.static -X "https://distfiles.adelielinux.org/adelie/current/system" --root "$NEWROOT" --initdb --no-progress add adelie-core bash-binsh musl-dev gcc binutils make pkgconf utmps-dev cd "$NEWROOT" diff --git a/libgcompat/utmp.c b/libgcompat/utmp.c index c2bdd91..d044fd2 100644 --- a/libgcompat/utmp.c +++ b/libgcompat/utmp.c @@ -1,5 +1,5 @@ #include <stddef.h> /* NULL */ -#include <utmp.h> /* struct utmp */ +#include <utmpx.h> /* struct utmp */ /** * Get user accounting database entries. |