fgetln: Include <stdio.h> after <sys/*>

The <sys/*> headers tend to define things that might be used by other
headers, so while they should be self-contained, it is better to simply
include them first.
This commit is contained in:
Guillem Jover
2023-07-27 13:39:00 +02:00
parent f41d6c12aa
commit d4e0cdc916

View File

@@ -25,10 +25,11 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdio.h>
#include <sys/cdefs.h>
#include <sys/types.h>
#include <string.h>
#include <stdio.h>
#include "local-link.h"