Marcin Cieslak
2017-04-22 21:53:57 UTC
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
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