aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbusbind.c
diff options
context:
space:
mode:
authorMichael Albinus2026-02-22 16:30:19 +0100
committerMichael Albinus2026-02-22 16:30:19 +0100
commit195d2f7a7497e08cc86454a63412ffbb49efc13f (patch)
tree8d75e11969f97f142b3f4478653b9e1f0bc19e84 /src/dbusbind.c
parentb7c5f39fd15526927f459910901bea2c019c91fe (diff)
downloademacs-195d2f7a7497e08cc86454a63412ffbb49efc13f.tar.gz
emacs-195d2f7a7497e08cc86454a63412ffbb49efc13f.zip
* src/dbusbind.c: Include fcntl.h if needed. (Bug#80373)
Diffstat (limited to 'src/dbusbind.c')
-rw-r--r--src/dbusbind.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dbusbind.c b/src/dbusbind.c
index 98adebfb2d4..95fedeb166b 100644
--- a/src/dbusbind.c
+++ b/src/dbusbind.c
@@ -29,6 +29,11 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
29#include "pdumper.h" 29#include "pdumper.h"
30#include "process.h" 30#include "process.h"
31 31
32#ifndef O_RDONLY
33/* WINDOWSNT. */
34#include <fcntl.h>
35#endif
36
32#ifndef DBUS_NUM_MESSAGE_TYPES 37#ifndef DBUS_NUM_MESSAGE_TYPES
33#define DBUS_NUM_MESSAGE_TYPES 5 38#define DBUS_NUM_MESSAGE_TYPES 5
34#endif 39#endif