summaryrefslogtreecommitdiff
path: root/Libraries/LibC/sys
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-08 21:40:22 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-08 21:40:22 +0200
commit3ee1b3cbd427f50f1d08e696d8165ba0469a5167 (patch)
tree0777d0cadae63f521d97915ba28076ae835936aa /Libraries/LibC/sys
parent53d4c7e207a75a293d9d9b4fbf37ad81efa0d369 (diff)
downloadserenity-3ee1b3cbd427f50f1d08e696d8165ba0469a5167.zip
LibC: Add ws_xpixel and ws_ypixel members to struct winsize
This matches what other systems have, although we don't use them. Gets rid of one dropbear patch. :^)
Diffstat (limited to 'Libraries/LibC/sys')
-rw-r--r--Libraries/LibC/sys/ioctl_numbers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibC/sys/ioctl_numbers.h b/Libraries/LibC/sys/ioctl_numbers.h
index e853b9af62..8b9491a207 100644
--- a/Libraries/LibC/sys/ioctl_numbers.h
+++ b/Libraries/LibC/sys/ioctl_numbers.h
@@ -33,6 +33,8 @@ __BEGIN_DECLS
struct winsize {
unsigned short ws_row;
unsigned short ws_col;
+ unsigned short ws_xpixel;
+ unsigned short ws_ypixel;
};
struct FBResolution {