#undef FIOQSIZE
#define FIOQSIZE 0x545e
-
-#undef SIOCGSTAMP
-#undef SIOCGSTAMPNS
-#define SIOCGSTAMP _IOR(0x89, 6, char[16])
-#define SIOCGSTAMPNS _IOR(0x89, 7, char[16])
#define FIOGETOWN 0x8903
#define SIOCGPGRP 0x8904
#define SIOCATMARK 0x8905
+#if __LONG_MAX == 0x7fffffff
+#define SIOCGSTAMP _IOR(0x89, 6, char[16])
+#define SIOCGSTAMPNS _IOR(0x89, 7, char[16])
+#else
#define SIOCGSTAMP 0x8906
#define SIOCGSTAMPNS 0x8907
+#endif
#include <bits/ioctl_fix.h>
+++ /dev/null
-#undef SIOCGSTAMP
-#undef SIOCGSTAMPNS
-#define SIOCGSTAMP _IOR(0x89, 6, char[16])
-#define SIOCGSTAMPNS _IOR(0x89, 7, char[16])
+++ /dev/null
-#undef SIOCGSTAMP
-#undef SIOCGSTAMPNS
-#define SIOCGSTAMP _IOR(0x89, 6, char[16])
-#define SIOCGSTAMPNS _IOR(0x89, 7, char[16])
+++ /dev/null
-#undef SIOCGSTAMP
-#undef SIOCGSTAMPNS
-#define SIOCGSTAMP _IOR(0x89, 6, char[16])
-#define SIOCGSTAMPNS _IOR(0x89, 7, char[16])
+++ /dev/null
-#undef SIOCGSTAMP
-#undef SIOCGSTAMPNS
-#define SIOCGSTAMP _IOR(0x89, 6, char[16])
-#define SIOCGSTAMPNS _IOR(0x89, 7, char[16])