Skip to content
Snippets Groups Projects
Commit 3aadfed7 authored by david's avatar david
Browse files

Minor corretions to the FreeBSD port.

parent c17b06ba
No related branches found
No related tags found
No related merge requests found
......@@ -55,15 +55,7 @@
#endif
#define GPL_LICENSED 1
#if defined(__FreeBSD__)
/* FIXME in the Makefile.am
*/
#include </usr/local/include/munge.h>
#else
#include <munge.h>
#endif
#include <unistd.h>
#include <sys/types.h>
......
......@@ -40,11 +40,11 @@
# include "config.h"
#endif
#if !defined(__FreeBSD_)
#if !defined(__FreeBSD__)
#include <net/if.h>
#endif
#include <arpa/inet.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <ifaddrs.h>
......@@ -733,6 +733,7 @@ extern int switch_p_get_jobinfo(switch_jobinfo_t *switch_job,
int i, s;
int bufsize = 1024;
char *buf = xmalloc(bufsize);
#if defined(__FreeBSD__)
#define IFNAMSIZ 16
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment