]> git.sesse.net Git - cubemap/blobdiff - stream.cpp
Create $(libdir) on make install.
[cubemap] / stream.cpp
index 4e5ca24cceab8870dfdfa00e66b161aecc61f729..c79391a81990b2f94ddef1b460beb08b62de0274 100644 (file)
@@ -69,7 +69,7 @@ Stream::Stream(const StreamProto &serialized, int data_fd)
        }
 
        // Set the close-on-exec parameter back on the backlog fd.
-       fcntl(data_fd, F_SETFD, O_CLOEXEC);
+       fcntl(data_fd, F_SETFD, FD_CLOEXEC);
 
        for (ssize_t point : serialized.suitable_starting_point()) {
                if (point == -1) {