aboutsummaryrefslogtreecommitdiffstats
path: root/sleeping-getty.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 18:47:15 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 18:47:15 +0200
commit8cc4f92e393d778c0f7afb616f023f4656e2ea9c (patch)
tree208c572112477c2462e1e606a7cc6d776824286e /sleeping-getty.c
parentSimplify and cahgne license (diff)
downloadsleeping-getty-8cc4f92e393d778c0f7afb616f023f4656e2ea9c.tar.gz
sleeping-getty-8cc4f92e393d778c0f7afb616f023f4656e2ea9c.tar.bz2
sleeping-getty-8cc4f92e393d778c0f7afb616f023f4656e2ea9c.tar.xz
m + improve makefile + use <sys/ioctl.h> instead of <stropts.h> which doesn' exist anymore1.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'sleeping-getty.c')
-rw-r--r--sleeping-getty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sleeping-getty.c b/sleeping-getty.c
index 25e95a9..9f7d09a 100644
--- a/sleeping-getty.c
+++ b/sleeping-getty.c
@@ -1,14 +1,15 @@
/* See LICENSE file for copyright and license details. */
#include <linux/vt.h>
+#include <sys/ioctl.h>
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <stropts.h>
#include <unistd.h>
+
static char *argv0;
static void