diff options
Diffstat (limited to 'common/gdm-common.h')
-rw-r--r-- | common/gdm-common.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/common/gdm-common.h b/common/gdm-common.h index 1a0c2583..7c72990a 100644 --- a/common/gdm-common.h +++ b/common/gdm-common.h @@ -23,8 +23,13 @@ #include <glib.h> #include <pwd.h> +#include <errno.h> -#include "gdm-common-unknown-origin.h" +#define VE_IGNORE_EINTR(expr) \ + do { \ + errno = 0; \ + expr; \ + } while G_UNLIKELY (errno == EINTR); #define GDM_CUSTOM_SESSION "custom" |