Skip to content

Commit

Permalink
Use RFC3542 for IPv6 on macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterDA authored and jech committed May 30, 2021
1 parent 69df1cb commit 3cb0ab7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/

#define __APPLE_USE_RFC_3542
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down
1 change: 1 addition & 0 deletions net.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ THE SOFTWARE.
*/

#define _GNU_SOURCE
#define __APPLE_USE_RFC_3542
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
Expand Down

0 comments on commit 3cb0ab7

Please sign in to comment.