Skip to content

Commit

Permalink
udiskslinuxdriveata: Avoid #include <blockdev/smart.h> if not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
tbzatek committed Sep 11, 2024
1 parent 98d2896 commit 2f49dce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/udiskslinuxdriveata.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
#include <glib/gstdio.h>
#include <errno.h>

#include <blockdev/smart.h>
#ifdef HAVE_SMART
# include <blockdev/smart.h>
#endif

#include "udiskslogging.h"
#include "udiskslinuxprovider.h"
Expand Down

0 comments on commit 2f49dce

Please sign in to comment.