Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix a compiler error in ptrace.c

On some systems, including sys/user.h before sys/types.h causes a
compiler error. Changing the order of the #includes fixes the error.
  • Loading branch information...
commit 84114a02c8c568fa693c85ba2a03cde4e0a26efa 1 parent afdee09
@ingramj ingramj authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ptrace.c
View
2  ptrace.c
@@ -1,7 +1,7 @@
#include <sys/ptrace.h>
+#include <sys/types.h>
#include <sys/user.h>
#include <sys/wait.h>
-#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
Please sign in to comment.
Something went wrong with that request. Please try again.