Skip to content

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Mar 29, 2024

In AIX, time.h header file doesn't have definitions like
fd_set, struct timeval, which are found in sys/time.h.

Add sys/time.h to files affected when available.

Regression from e53aae0 #1001.

Reported-by: shubhamhii on GitHub
Assisted-by: shubhamhii on GitHub
Fixes #1334
Fixes #1335
Closes #1340

In AIX, `time.h` header file doesn't have definitions like
`fd_set`, `struct timeval`, which are found in `sys/time.h`.

Add `sys/time.h` to files affected when available.

Reported-by: shubhamhii on GitHub
Assisted-by: shubhamhii on GitHub
Fixes libssh2#1334
Fixes libssh2#1335
Closes #xxxx
@vszakats vszakats closed this in 24503cb Mar 29, 2024
@vszakats vszakats deleted the fix-aix-build branch March 29, 2024 09:16
@vszakats vszakats mentioned this pull request Mar 29, 2024
agreppin pushed a commit to agreppin/libssh2 that referenced this pull request Jul 14, 2024
In AIX, `time.h` header file doesn't have definitions like
`fd_set`, `struct timeval`, which are found in `sys/time.h`.

Add `sys/time.h` to files affected when available.

Regression from e53aae0 libssh2#1001.

Reported-by: shubhamhii on GitHub
Assisted-by: shubhamhii on GitHub
Fixes libssh2#1334
Fixes libssh2#1335
Closes libssh2#1340
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix AIX build
1 participant