lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #53249] Compile error socket.h


From: Carsten Frank
Subject: [lwip-devel] [bug #53249] Compile error socket.h
Date: Thu, 1 Mar 2018 04:07:01 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?53249>

                 Summary: Compile error socket.h
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: carstenfrank
            Submitted on: Thu 01 Mar 2018 09:06:59 AM UTC
                Category: sockets/netconn
                Severity: 3 - Normal
              Item Group: Change Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: 2.0.3

    _______________________________________________________

Details:


>From socket.h:

#if LWIP_TIMEVAL_PRIVATE
struct timeval {
  long    tv_sec;         /* seconds */
  long    tv_usec;        /* and microseconds */
};
+#else
+#include <sys/time.h>
#endif /* LWIP_TIMEVAL_PRIVATE */

With out the two new lines (+) socket.h can't compile when
LWIP_TIMEVAL_PRIVATE is 0

You need it to be zero if you use your compilers native struct timeval.





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?53249>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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