# --- T2-COPYRIGHT-BEGIN ---
# t2/package/*/dietlibc/ppc-ioctl.h.patch
# Copyright (C) 2006 - 2026 The T2 SDE Project
# SPDX-License-Identifier: GPL-2.0 or patched project license
# --- T2-COPYRIGHT-END ---

Needed for at least popt (sigh), should be reviewed for correctness ...

  - Rene Rebe <rene@exactcode.de>

--- dietlibc-0.29/include/sys/ppc-ioctl.h.vanilla	2006-03-28 10:43:28.087690250 +0200
+++ dietlibc-0.29/include/sys/ppc-ioctl.h	2006-03-28 10:43:32.391959250 +0200
@@ -150,7 +150,6 @@
 #define TIOCMIWAIT	0x545C	/* wait for a change on serial input line(s) */
 #define TIOCGICOUNT	0x545D	/* read serial port inline interrupt counts */
 
-#if 0 /* These are defined this way on Alpha - maybe later. */
 /* Socket-level I/O control calls. */
 
 #define FIOGETOWN	_IOR('f', 123, int)
@@ -161,4 +160,3 @@
 #define SIOCGPGRP	_IOR('s', 9, pid_t)
 
 #define SIOCGSTAMP	0x8906		/* Get stamp - linux-specific */
-#endif
