Users: use __has_include

This commit is contained in:
李通洲 committed 2023-08-14 10:05:43 +08:00
1 parent b39c84f81e
commit 65d25446fe
2 files changed
+1 -6

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
#include "fastfetch.h"
#include "users.h"
#if FF_HAVE_UTMPX_H
#if __has_include(<utmpx.h>)
#include <utmpx.h>
#else
//for Android compatibility