libsync: remove linux includes from sync/sync.h

This change removes the #includes of "linux/*.h" headers from the libsync
header.  It currently does this by copying the needed structs that are in the
linux headers.  This is intended to be a temporary solution.

Change-Id: Ie7e1a8e05fcf8809ba4aa0e2427efe141dae5327
Cr-Mirrored-From: https://chromium.googlesource.com/aosp/platform/system/core/
Cr-Mirrored-Commit: 3be33e46187bfb1e42099bb4ba061a494356576c
1 file changed
tree: a6ac7c8b39b42673ee44428a368000aa5f9fa17d
  1. Android.mk
  2. sync.c
  3. sync_test.c