diff options
author | prspkt <prspkt@protonmail.com> | 2018-03-29 20:30:27 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-17 20:12:56 +0000 |
commit | afa66c07801b5c2dc97a9c10d7fb38e40bda2c5a (patch) | |
tree | cb7514ad1254f889d2ab92d2ea2215dde7b23bbd /testing/slurm/fix-includes.patch | |
parent | 26e514b99214145d307ae36e9e1753cd19b86b37 (diff) | |
download | aports-afa66c07801b5c2dc97a9c10d7fb38e40bda2c5a.tar.bz2 aports-afa66c07801b5c2dc97a9c10d7fb38e40bda2c5a.tar.xz |
testing/slurm: new aport
Diffstat (limited to 'testing/slurm/fix-includes.patch')
-rw-r--r-- | testing/slurm/fix-includes.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/slurm/fix-includes.patch b/testing/slurm/fix-includes.patch new file mode 100644 index 0000000000..9e933ffc50 --- /dev/null +++ b/testing/slurm/fix-includes.patch @@ -0,0 +1,22 @@ +--- a/os.h ++++ b/os.h +@@ -177,7 +177,7 @@ + #elif defined (__linux__) /* L I N U X */ + #include <stdio.h> + #include <sys/param.h> +-#include <sys/sysctl.h> ++#include <linux/sysctl.h> + #include <stdlib.h> + #include <stdarg.h> + #include <unistd.h> +@@ -195,8 +195,8 @@ + #include <netinet/in.h> + #include <net/if.h> + #include <arpa/inet.h> +-#include <net/ppp_defs.h> +-#include <net/if_ppp.h> ++#include <linux/ppp_defs.h> ++#include <linux/if_ppp.h> + #elif defined (__Solaris__) /* S O L A R I S */ + #include <stdio.h> + #define NO_CURSES_E 1 |