]> git.sesse.net Git - cubemap/blobdiff - httpinput.h
Create $(libdir) on make install.
[cubemap] / httpinput.h
index 890cc9ef91256b92145e58dcc3425831fa0747fc..0c3b5344a5ccecc29341d7c52098cc545722fa65 100644 (file)
@@ -2,6 +2,7 @@
 #define _HTTPINPUT_H 1
 
 #include <stddef.h>
+#include <sys/types.h>
 #include <mutex>
 #include <string>
 #include <vector>
@@ -99,6 +100,9 @@ private:
        // The socket we are downloading on (or -1).
        int sock = -1;
 
+       // pid of the child process (or -1).
+       pid_t child_pid = -1;
+
        // Mutex protecting <stats>.
        mutable std::mutex stats_mutex;