Added docker

This commit is contained in:
Nate Choe
2022-04-04 12:19:39 -05:00
parent 8dd0e6a06c
commit 00bbd9c1d4
5 changed files with 52 additions and 0 deletions

View File

@@ -16,6 +16,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <features.h>
#include <stdlib.h>
#include <string.h>
@@ -29,6 +31,9 @@
#include <swebs/responses.h>
#include <swebs/responseutil.h>
char *realpath(char *, char *);
/* I don't know why, but realpath breaks on debian. */
static int readResponse(Connection *conn, char *path) {
int fd = -1;
struct stat statbuf;