compile on solaris

This commit is contained in:
Kelvin Sherlock
2017-08-10 16:42:41 -04:00
parent 730c1b5e2c
commit c8fe912bac
3 changed files with 5 additions and 1 deletions

2
afp

Submodule afp updated: 4370c1386b...b440a35d29

View File

@@ -15,12 +15,14 @@
#include <stdlib.h> #include <stdlib.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <string.h>
#ifdef _WIN32 #ifdef _WIN32
#include "win.h" #include "win.h"
#else #else
#include <err.h> #include <err.h>
#include <sysexits.h> #include <sysexits.h>
#include <arpa/inet.h>
#endif #endif
#include "mapped_file.h" #include "mapped_file.h"

View File

@@ -15,12 +15,14 @@
#include <stdlib.h> #include <stdlib.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <string.h>
#ifdef _WIN32 #ifdef _WIN32
#include "win.h" #include "win.h"
#else #else
#include <err.h> #include <err.h>
#include <sysexits.h> #include <sysexits.h>
#include <arpa/inet.h>
#endif #endif
#include "mapped_file.h" #include "mapped_file.h"