[ostree] trivial-httpd: Add missing include for shutdown() on eglibc



commit dd3d522fa8ca97109a42f28307d37555308f2635
Author: Colin Walters <walters verbum org>
Date:   Mon Aug 26 17:57:43 2013 -0400

    trivial-httpd: Add missing include for shutdown() on eglibc

 src/ostree/ot-builtin-trivial-httpd.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/ostree/ot-builtin-trivial-httpd.c b/src/ostree/ot-builtin-trivial-httpd.c
index 59f624e..ec9b990 100644
--- a/src/ostree/ot-builtin-trivial-httpd.c
+++ b/src/ostree/ot-builtin-trivial-httpd.c
@@ -26,6 +26,8 @@
 #include "ostree.h"
 #include "otutil.h"
 
+#include <sys/socket.h>
+
 static char *opt_port_file = NULL;
 static gboolean opt_daemonize;
 static gboolean opt_autoexit;


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