missing: move timer related definition to missing_timerfd.h
This commit is contained in:
parent
66ffbdf933
commit
d7330b60a9
|
@ -112,6 +112,7 @@ basic_sources = files('''
|
|||
missing_socket.h
|
||||
missing_stat.h
|
||||
missing_syscall.h
|
||||
missing_timerfd.h
|
||||
missing_type.h
|
||||
missing_vxcan.h
|
||||
mkdir-label.c
|
||||
|
|
|
@ -93,10 +93,6 @@
|
|||
# define CIFS_MAGIC_NUMBER 0xFF534D42
|
||||
#endif
|
||||
|
||||
#ifndef TFD_TIMER_CANCEL_ON_SET
|
||||
# define TFD_TIMER_CANCEL_ON_SET (1 << 1)
|
||||
#endif
|
||||
|
||||
#ifndef DRM_IOCTL_SET_MASTER
|
||||
# define DRM_IOCTL_SET_MASTER _IO('d', 0x1e)
|
||||
#endif
|
||||
|
@ -150,6 +146,7 @@
|
|||
#include "missing_prctl.h"
|
||||
#include "missing_resource.h"
|
||||
#include "missing_socket.h"
|
||||
#include "missing_timerfd.h"
|
||||
#include "missing_type.h"
|
||||
|
||||
#include "missing_syscall.h"
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
/* SPDX-License-Identifier: LGPL-2.1+ */
|
||||
#pragma once
|
||||
|
||||
#include <sys/timerfd.h>
|
||||
|
||||
#ifndef TFD_TIMER_CANCEL_ON_SET
|
||||
#define TFD_TIMER_CANCEL_ON_SET (1 << 1)
|
||||
#endif
|
Loading…
Reference in New Issue