bug-apl
[Top][All Lists]
Advanced

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

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


From: Juergen Sauermann
Subject: Re: [Bug-apl] sockaddr_in needs <netinet/in.h>
Date: Sun, 23 Apr 2017 12:04:18 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi Marcin,

thanks, fixed in SVN 929.

Elias, please sync back.

/// Jürgen


On 04/22/2017 11:53 PM, Marcin Cieslak wrote:
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]