1
0
mirror of https://github.com/openbsd/src.git synced 2026-06-18 07:13:36 +02:00

move ktime_t typedef to linux/types.h

follows linux changes made around the time of linux 6.8
This commit is contained in:
jsg
2026-06-02 03:04:53 +00:00
parent 8c3bf64ebf
commit 7614fb3f1c
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
/* $OpenBSD: ktime.h,v 1.8 2024/03/28 02:36:38 jsg Exp $ */
/* $OpenBSD: ktime.h,v 1.9 2026/06/02 03:04:53 jsg Exp $ */
/*
* Copyright (c) 2013, 2014, 2015 Mark Kettenis
*
@@ -21,8 +21,8 @@
#include <sys/time.h>
#include <linux/time.h>
#include <linux/jiffies.h>
#include <linux/types.h>
typedef int64_t ktime_t;
#define KTIME_MAX INT64_MAX
static inline ktime_t
+2
View File
@@ -53,6 +53,8 @@ typedef int pgprot_t;
typedef int atomic_t;
typedef int64_t ktime_t;
struct list_head {
struct list_head *next, *prev;
};