bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] sockaddr_in needs <netinet/in.h>


From: Marcin Cieslak
Subject: [Bug-apl] sockaddr_in needs <netinet/in.h>
Date: Sat, 22 Apr 2017 21:53:57 +0000

Hello,

I am complete newcomer to APL (thanks to Alex Weiner 
http://mastodon.social/@acw).

I realized I could not build GNU APL on FreeBSD because of a missing header file
which gets included automatically on Linux via <netdb.h>.

Here's the patch:

Index: src/emacs_mode/TcpListener.cc
===================================================================
--- src/emacs_mode/TcpListener.cc       (revision 928)
+++ src/emacs_mode/TcpListener.cc       (working copy)
@@ -28,6 +28,7 @@
 #include <pthread.h>
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
 #include <sys/un.h>
 #include <errno.h>
 #include <netdb.h>


Marcin Cieślak



reply via email to

[Prev in Thread] Current Thread [Next in Thread]