Commit Diff


commit - 71d5deec5b4bba67b7d1327e3da4ddad1a204b6f
commit + a625907cba57e9bba5b33e46393bb1fbc5a7e21c
blob - cb9004d4e285ddfd4f072cf8b27b6ed6c2772dfc
blob + 7bd827d6354db030b1fbffc9a365200e017a557e
--- compat/imsg-buffer.c
+++ compat/imsg-buffer.c
@@ -15,6 +15,8 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
+
+#include "compat.h"
 
 #include <sys/types.h>
 #include <sys/socket.h>
blob - f9b7f2e0614ddccd16681666d39bd59f93365ff4
blob + 6c746751450bd523a4fb6736a4347900fd01d5bb
--- compat/imsg.c
+++ compat/imsg.c
@@ -15,6 +15,8 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
+
+#include "compat.h"
 
 #include <sys/types.h>
 #include <sys/socket.h>
blob - df2ef06c1e5087adcd1639d79f108c7492ee6fc6
blob + 5b092cfcfd53b5b09a2d5932010f421d6795e0aa
--- compat/imsg.h
+++ compat/imsg.h
@@ -23,8 +23,6 @@
 
 #include <stdint.h>
 
-#include "compat.h"
-
 #define IBUF_READ_SIZE		65535
 #define IMSG_HEADER_SIZE	sizeof(struct imsg_hdr)
 #define MAX_IMSGSIZE		16384
blob - 6c5d73852ea3e90696b44a9fe80d54feace0ae2e
blob + 63c29d042a847c9f5de18ec716abbd1f8e5687d7
--- configure.ac
+++ configure.ac
@@ -2,6 +2,7 @@ AC_INIT([telescope], [0.1], [telescope@omarpolo.com], 
 AC_CONFIG_LIBOBJ_DIR(compat)
 AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
 AC_PROG_CC
+AC_USE_SYSTEM_EXTENSIONS
 
 PKG_PROG_PKG_CONFIG