forked from macports/macports-ports
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gdm: add a missing header to fix build on new macOS
- Loading branch information
1 parent
e2a5bf8
commit e896121
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- daemon/gdm-session-record.c 2015-09-19 03:33:26.000000000 +0800 | ||
+++ daemon/gdm-session-record.c 2024-08-27 19:42:42.000000000 +0800 | ||
@@ -25,6 +25,10 @@ | ||
#include <string.h> | ||
#include <unistd.h> | ||
|
||
+#ifdef __APPLE__ | ||
+#include <util.h> | ||
+#endif | ||
+ | ||
#if defined(HAVE_UTMPX_H) | ||
#include <utmpx.h> | ||
#endif |