mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
Without the change the build fails in `master` as https://hydra.nixos.org/build/319882690: ``` io.c:22:10: fatal error: termio.h: No such file or directory 22 | #include <termio.h> | ^~~~~~~~~~ ```
27 lines
535 B
Diff
27 lines
535 B
Diff
--- a/ax25ipd/io.c
|
|
+++ b/ax25ipd/io.c
|
|
@@ -19,20 +19,21 @@
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <syslog.h>
|
|
-#include <termio.h>
|
|
+#include <termios.h>
|
|
#include <time.h>
|
|
#include <unistd.h>
|
|
#include <arpa/inet.h>
|
|
#include <netinet/in.h>
|
|
#include <netinet/in_systm.h>
|
|
#include <netinet/ip.h>
|
|
+#include <sys/ioctl.h>
|
|
#include <sys/types.h>
|
|
#include <sys/time.h>
|
|
#include <sys/socket.h>
|
|
|
|
#include "ax25ipd.h"
|
|
|
|
-static struct termio nterm;
|
|
+static struct termios nterm;
|
|
|
|
int ttyfd = -1;
|
|
static int udpsock = -1;
|