<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e41e1-c8f4-73b3-a4e3-78b91139fa9b,g:a18b0060-d4a1-4fed-89f8-6a0c900bb180-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.lbfoster.com/role/Cover" xlink:type="simple" xlink:href="fstr-20260616.xsd#Cover"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/Cover" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationLineItems_019e41e1-c8f4-7c2e-b367-c09a8c00b741" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationTable_019e41e1-c8f4-7d6d-828d-5604d4bd067c" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentInformationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_DocumentInformationLineItems_019e41e1-c8f4-7c2e-b367-c09a8c00b741" xlink:to="loc_dei_DocumentInformationTable_019e41e1-c8f4-7d6d-828d-5604d4bd067c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f4-74af-8e2e-15ba056c5248" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_DocumentInformationTable_019e41e1-c8f4-7d6d-828d-5604d4bd067c" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f4-74af-8e2e-15ba056c5248" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f4-74af-8e2e-15ba056c5248_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f4-74af-8e2e-15ba056c5248" xlink:to="loc_dei_EntityDomain_019e41e1-c8f4-74af-8e2e-15ba056c5248_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f4-7f99-8fcd-983e975bd6ba" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f4-74af-8e2e-15ba056c5248" xlink:to="loc_dei_EntityDomain_019e41e1-c8f4-7f99-8fcd-983e975bd6ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f4-73ff-8127-1dcf1a38ddac" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f4-7f99-8fcd-983e975bd6ba" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f4-73ff-8127-1dcf1a38ddac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_019e41e1-c8f4-798f-adbc-7425d85ad3fd" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentType"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_019e41e1-c8f4-7c2e-b367-c09a8c00b741" xlink:to="loc_dei_DocumentType_019e41e1-c8f4-798f-adbc-7425d85ad3fd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_019e41e1-c8f4-7087-b509-0ededdfc2763" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityRegistrantName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_019e41e1-c8f4-7c2e-b367-c09a8c00b741" xlink:to="loc_dei_EntityRegistrantName_019e41e1-c8f4-7087-b509-0ededdfc2763" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_019e41e1-c8f4-7b2b-b064-8b59f015f3c6" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_AmendmentFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_019e41e1-c8f4-7c2e-b367-c09a8c00b741" xlink:to="loc_dei_AmendmentFlag_019e41e1-c8f4-7b2b-b064-8b59f015f3c6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_019e41e1-c8f4-7e54-8e47-a5c1375d8f2a" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityCentralIndexKey"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_019e41e1-c8f4-7c2e-b367-c09a8c00b741" xlink:to="loc_dei_EntityCentralIndexKey_019e41e1-c8f4-7e54-8e47-a5c1375d8f2a" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/StatementsofNetAssetsAvailableforBenefits" xlink:type="simple" xlink:href="fstr-20260616.xsd#StatementsofNetAssetsAvailableforBenefits"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/StatementsofNetAssetsAvailableforBenefits" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems_019e41e1-c8f4-7873-b38b-8e5e38796375" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable_019e41e1-c8f4-7c8b-bf37-5992dedb2129" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems_019e41e1-c8f4-7873-b38b-8e5e38796375" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable_019e41e1-c8f4-7c8b-bf37-5992dedb2129" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f4-7cb8-8954-65fe5809796d" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable_019e41e1-c8f4-7c8b-bf37-5992dedb2129" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f4-7cb8-8954-65fe5809796d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f4-7cb8-8954-65fe5809796d_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f4-7cb8-8954-65fe5809796d" xlink:to="loc_dei_EntityDomain_019e41e1-c8f4-7cb8-8954-65fe5809796d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f4-7ee3-b942-e8add1e44e24" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f4-7cb8-8954-65fe5809796d" xlink:to="loc_dei_EntityDomain_019e41e1-c8f4-7ee3-b942-e8add1e44e24" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f4-7717-927f-675bb636455a" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f4-7ee3-b942-e8add1e44e24" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f4-7717-927f-675bb636455a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_019e41e1-c8f4-7c12-b261-29e3ae4e3432" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems_019e41e1-c8f4-7873-b38b-8e5e38796375" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_019e41e1-c8f4-7c12-b261-29e3ae4e3432" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue_019e41e1-c8f4-72dc-8261-51d66986fc7f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_019e41e1-c8f4-7c12-b261-29e3ae4e3432" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue_019e41e1-c8f4-72dc-8261-51d66986fc7f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReceivableAbstract_019e41e1-c8f4-76f3-890f-577c6c552072" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanReceivableAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_019e41e1-c8f4-7c12-b261-29e3ae4e3432" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReceivableAbstract_019e41e1-c8f4-76f3-890f-577c6c552072" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant_019e41e1-c8f4-71aa-bf0b-3da2d0bcbf3e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReceivableAbstract_019e41e1-c8f4-76f3-890f-577c6c552072" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant_019e41e1-c8f4-71aa-bf0b-3da2d0bcbf3e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanReceivable_019e41e1-c8f4-7290-af8e-a3c6208e00da" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanReceivableAbstract_019e41e1-c8f4-76f3-890f-577c6c552072" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanReceivable_019e41e1-c8f4-7290-af8e-a3c6208e00da" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_019e41e1-c8f4-7125-9a49-600ee52ad4f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems_019e41e1-c8f4-7873-b38b-8e5e38796375" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_019e41e1-c8f4-7125-9a49-600ee52ad4f0" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/StatementofChangesinNetAssetsAvailableforBenefits" xlink:type="simple" xlink:href="fstr-20260616.xsd#StatementofChangesinNetAssetsAvailableforBenefits"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/StatementofChangesinNetAssetsAvailableforBenefits" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_019e41e1-c8f5-7c9e-93cf-1c8a49b673dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable_019e41e1-c8f5-7ef7-ad64-0accea609847" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_019e41e1-c8f5-7c9e-93cf-1c8a49b673dd" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable_019e41e1-c8f5-7ef7-ad64-0accea609847" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f5-7aab-b449-d9a8af25e9ea" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable_019e41e1-c8f5-7ef7-ad64-0accea609847" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f5-7aab-b449-d9a8af25e9ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-7aab-b449-d9a8af25e9ea_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7aab-b449-d9a8af25e9ea" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-7aab-b449-d9a8af25e9ea_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-7dd1-9391-fd5ba7920991" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7aab-b449-d9a8af25e9ea" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-7dd1-9391-fd5ba7920991" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f5-72ed-bb23-aeda930a9ba5" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f5-7dd1-9391-fd5ba7920991" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f5-72ed-bb23-aeda930a9ba5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract_019e41e1-c8f5-7bd2-8137-eec9b326248e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_019e41e1-c8f5-7c9e-93cf-1c8a49b673dd" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract_019e41e1-c8f5-7bd2-8137-eec9b326248e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestmentAbstract_019e41e1-c8f5-70a8-935c-1686135d3c57" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestmentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract_019e41e1-c8f5-7bd2-8137-eec9b326248e" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestmentAbstract_019e41e1-c8f5-70a8-935c-1686135d3c57" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment_019e41e1-c8f5-723e-8626-52dcf0d2005c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestmentAbstract_019e41e1-c8f5-70a8-935c-1686135d3c57" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment_019e41e1-c8f5-723e-8626-52dcf0d2005c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment_019e41e1-c8f5-7868-8174-b41d29b10325" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestmentAbstract_019e41e1-c8f5-70a8-935c-1686135d3c57" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment_019e41e1-c8f5-7868-8174-b41d29b10325" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment_019e41e1-c8f5-72be-b517-de0a0cbdab9a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestmentAbstract_019e41e1-c8f5-70a8-935c-1686135d3c57" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment_019e41e1-c8f5-72be-b517-de0a0cbdab9a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestIncomeOnNoteReceivableFromParticipant_019e41e1-c8f5-7acb-b1bd-6887aabc0208" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestIncomeOnNoteReceivableFromParticipant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract_019e41e1-c8f5-7bd2-8137-eec9b326248e" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestIncomeOnNoteReceivableFromParticipant_019e41e1-c8f5-7acb-b1bd-6887aabc0208" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_019e41e1-c8f5-76a0-883e-e557fd5bb030" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract_019e41e1-c8f5-7bd2-8137-eec9b326248e" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_019e41e1-c8f5-76a0-883e-e557fd5bb030" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContributionCash_019e41e1-c8f5-7322-bc3a-d6cadea3c877" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContributionCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_019e41e1-c8f5-76a0-883e-e557fd5bb030" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContributionCash_019e41e1-c8f5-7322-bc3a-d6cadea3c877" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover_019e41e1-c8f5-7a1c-b556-833d5d643b11" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_019e41e1-c8f5-76a0-883e-e557fd5bb030" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover_019e41e1-c8f5-7a1c-b556-833d5d643b11" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover_019e41e1-c8f5-7c11-a43f-38cc28e39db0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_019e41e1-c8f5-76a0-883e-e557fd5bb030" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover_019e41e1-c8f5-7c11-a43f-38cc28e39db0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution_019e41e1-c8f5-717a-a5be-600702b845b1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract_019e41e1-c8f5-76a0-883e-e557fd5bb030" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution_019e41e1-c8f5-717a-a5be-600702b845b1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease_019e41e1-c8f5-732a-942c-9a6c215f510d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract_019e41e1-c8f5-7bd2-8137-eec9b326248e" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease_019e41e1-c8f5-732a-942c-9a6c215f510d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_019e41e1-c8f5-7e0c-875a-85264981ca14" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_019e41e1-c8f5-7c9e-93cf-1c8a49b673dd" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_019e41e1-c8f5-7e0c-875a-85264981ca14" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPChangeInNetAssetAvailableForBenefitDecreaseFromNetAssetsAbstract_019e41e1-c8f5-7ba8-b801-b2a3f386098c" xlink:href="fstr-20260616.xsd#fstr_EBPChangeInNetAssetAvailableForBenefitDecreaseFromNetAssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_019e41e1-c8f5-7e0c-875a-85264981ca14" xlink:to="loc_fstr_EBPChangeInNetAssetAvailableForBenefitDecreaseFromNetAssetsAbstract_019e41e1-c8f5-7ba8-b801-b2a3f386098c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant_019e41e1-c8f5-7542-9e0d-11181789c047" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fstr_EBPChangeInNetAssetAvailableForBenefitDecreaseFromNetAssetsAbstract_019e41e1-c8f5-7ba8-b801-b2a3f386098c" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant_019e41e1-c8f5-7542-9e0d-11181789c047" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense_019e41e1-c8f5-7b0a-8a85-5c96672ff5f2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fstr_EBPChangeInNetAssetAvailableForBenefitDecreaseFromNetAssetsAbstract_019e41e1-c8f5-7ba8-b801-b2a3f386098c" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense_019e41e1-c8f5-7b0a-8a85-5c96672ff5f2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPChangeInNetAssetAvailableForBenefitDecreaseFromDeemedDistributionsOnNoteReceivableFromParticipant_019e41e1-c8f5-7a9c-8d10-d25853ea0d41" xlink:href="fstr-20260616.xsd#fstr_EBPChangeInNetAssetAvailableForBenefitDecreaseFromDeemedDistributionsOnNoteReceivableFromParticipant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fstr_EBPChangeInNetAssetAvailableForBenefitDecreaseFromNetAssetsAbstract_019e41e1-c8f5-7ba8-b801-b2a3f386098c" xlink:to="loc_fstr_EBPChangeInNetAssetAvailableForBenefitDecreaseFromDeemedDistributionsOnNoteReceivableFromParticipant_019e41e1-c8f5-7a9c-8d10-d25853ea0d41" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease_019e41e1-c8f5-7a79-be40-82408c5fd221" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_019e41e1-c8f5-7e0c-875a-85264981ca14" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease_019e41e1-c8f5-7a79-be40-82408c5fd221" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease_019e41e1-c8f5-7124-b131-7ea3d08435cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_019e41e1-c8f5-7c9e-93cf-1c8a49b673dd" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease_019e41e1-c8f5-7124-b131-7ea3d08435cc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_019e41e1-c8f5-7a2b-8bcc-bdcbda7384ae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_019e41e1-c8f5-7c9e-93cf-1c8a49b673dd" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_019e41e1-c8f5-7a2b-8bcc-bdcbda7384ae" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_019e41e1-c8f5-7883-823d-3ccc58492a9e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/DescriptionofthePlan" xlink:type="simple" xlink:href="fstr-20260616.xsd#DescriptionofthePlan"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/DescriptionofthePlan" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7341-8dd7-7dbfc7c5b113" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_019e41e1-c8f5-7211-b5c9-b8a9e7b68481" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7341-8dd7-7dbfc7c5b113" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_019e41e1-c8f5-7211-b5c9-b8a9e7b68481" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f5-7518-8699-6cf3f5260d03" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_019e41e1-c8f5-7211-b5c9-b8a9e7b68481" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f5-7518-8699-6cf3f5260d03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-7518-8699-6cf3f5260d03_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7518-8699-6cf3f5260d03" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-7518-8699-6cf3f5260d03_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-757f-a83f-2193d41934f2" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7518-8699-6cf3f5260d03" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-757f-a83f-2193d41934f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f5-7a8f-8367-6b206fffcb99" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f5-757f-a83f-2193d41934f2" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f5-7a8f-8367-6b206fffcb99" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock_019e41e1-c8f5-7df3-a4d5-3c27c246869b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7341-8dd7-7dbfc7c5b113" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock_019e41e1-c8f5-7df3-a4d5-3c27c246869b" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/SummaryofSignificantAccountingPolicies" xlink:type="simple" xlink:href="fstr-20260616.xsd#SummaryofSignificantAccountingPolicies"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/SummaryofSignificantAccountingPolicies" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_019e41e1-c8f5-715a-bfda-9c9a27646173" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_019e41e1-c8f5-7a29-adb3-b5ad35c8a82b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_019e41e1-c8f5-715a-bfda-9c9a27646173" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_019e41e1-c8f5-7a29-adb3-b5ad35c8a82b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f5-7aaa-8a6d-a428397b2eed" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_019e41e1-c8f5-7a29-adb3-b5ad35c8a82b" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f5-7aaa-8a6d-a428397b2eed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-7aaa-8a6d-a428397b2eed_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7aaa-8a6d-a428397b2eed" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-7aaa-8a6d-a428397b2eed_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-79a8-a9d6-21ca0c3f5d1b" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7aaa-8a6d-a428397b2eed" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-79a8-a9d6-21ca0c3f5d1b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f5-7282-b7c5-8febf27a92cd" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f5-79a8-a9d6-21ca0c3f5d1b" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f5-7282-b7c5-8febf27a92cd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock_019e41e1-c8f5-71c1-af23-96f4a5fb3499" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_019e41e1-c8f5-715a-bfda-9c9a27646173" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock_019e41e1-c8f5-71c1-af23-96f4a5fb3499" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/IncomeTaxStatus" xlink:type="simple" xlink:href="fstr-20260616.xsd#IncomeTaxStatus"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/IncomeTaxStatus" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems_019e41e1-c8f5-7092-a0cb-c5ada6a940cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable_019e41e1-c8f5-7efd-9598-f3ac7ef4332f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems_019e41e1-c8f5-7092-a0cb-c5ada6a940cc" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable_019e41e1-c8f5-7efd-9598-f3ac7ef4332f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f5-73d1-aa7f-680cab182a62" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable_019e41e1-c8f5-7efd-9598-f3ac7ef4332f" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f5-73d1-aa7f-680cab182a62" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-73d1-aa7f-680cab182a62_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-73d1-aa7f-680cab182a62" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-73d1-aa7f-680cab182a62_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-7a7f-b6fe-350d4999dbbd" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-73d1-aa7f-680cab182a62" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-7a7f-b6fe-350d4999dbbd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f5-7dcf-8d68-dabb949b8e71" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f5-7a7f-b6fe-350d4999dbbd" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f5-7dcf-8d68-dabb949b8e71" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock_019e41e1-c8f5-7ae1-8de9-ce4ab1f80ed0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems_019e41e1-c8f5-7092-a0cb-c5ada6a940cc" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock_019e41e1-c8f5-7ae1-8de9-ce4ab1f80ed0" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/FairValueMeasurements" xlink:type="simple" xlink:href="fstr-20260616.xsd#FairValueMeasurements"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/FairValueMeasurements" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_019e41e1-c8f5-7702-88d9-d6fb6ce5ddd9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_019e41e1-c8f5-7b04-972c-89745975ebc8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_019e41e1-c8f5-7702-88d9-d6fb6ce5ddd9" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_019e41e1-c8f5-7b04-972c-89745975ebc8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f5-75e5-984d-55d5faaa6edd" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_019e41e1-c8f5-7b04-972c-89745975ebc8" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f5-75e5-984d-55d5faaa6edd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-75e5-984d-55d5faaa6edd_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-75e5-984d-55d5faaa6edd" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-75e5-984d-55d5faaa6edd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-778b-9bbc-382b5cba3085" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-75e5-984d-55d5faaa6edd" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-778b-9bbc-382b5cba3085" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f5-7ccc-b546-2de3e6a16b42" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f5-778b-9bbc-382b5cba3085" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f5-7ccc-b546-2de3e6a16b42" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock_019e41e1-c8f5-79d9-b2e6-b82f641c6f8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_019e41e1-c8f5-7702-88d9-d6fb6ce5ddd9" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock_019e41e1-c8f5-79d9-b2e6-b82f641c6f8c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/TransactionswithPartiesinInterest" xlink:type="simple" xlink:href="fstr-20260616.xsd#TransactionswithPartiesinInterest"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/TransactionswithPartiesinInterest" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_019e41e1-c8f5-7efd-b0b9-e9cf71f2dc85" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_019e41e1-c8f5-7e06-8dc8-e47fdc0c4e3e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_019e41e1-c8f5-7efd-b0b9-e9cf71f2dc85" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_019e41e1-c8f5-7e06-8dc8-e47fdc0c4e3e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f5-79e7-ad0e-74e01bf4d946" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_019e41e1-c8f5-7e06-8dc8-e47fdc0c4e3e" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f5-79e7-ad0e-74e01bf4d946" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-79e7-ad0e-74e01bf4d946_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-79e7-ad0e-74e01bf4d946" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-79e7-ad0e-74e01bf4d946_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-75ad-ad47-bdf76f96239b" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-79e7-ad0e-74e01bf4d946" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-75ad-ad47-bdf76f96239b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f5-7a2a-bed0-9460a8a56820" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f5-75ad-ad47-bdf76f96239b" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f5-7a2a-bed0-9460a8a56820" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock_019e41e1-c8f5-77b5-bfd8-d60d9f4a3e9e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_019e41e1-c8f5-7efd-b0b9-e9cf71f2dc85" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock_019e41e1-c8f5-77b5-bfd8-d60d9f4a3e9e" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/ScheduleHLine4iScheduleofAssetsHeldAtEndofYear" xlink:type="simple" xlink:href="fstr-20260616.xsd#ScheduleHLine4iScheduleofAssetsHeldAtEndofYear"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/ScheduleHLine4iScheduleofAssetsHeldAtEndofYear" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7055-bf09-c56b2b7cd20f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_019e41e1-c8f5-7ad5-be11-2abea8dd5dcc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7055-bf09-c56b2b7cd20f" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_019e41e1-c8f5-7ad5-be11-2abea8dd5dcc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f5-7b73-a546-9dc00d781ca5" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_019e41e1-c8f5-7ad5-be11-2abea8dd5dcc" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f5-7b73-a546-9dc00d781ca5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-7b73-a546-9dc00d781ca5_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7b73-a546-9dc00d781ca5" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-7b73-a546-9dc00d781ca5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-7ca2-93bc-d0ab160fef12" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7b73-a546-9dc00d781ca5" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-7ca2-93bc-d0ab160fef12" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f5-7e6a-b6ef-bb0e9169e1bf" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f5-7ca2-93bc-d0ab160fef12" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f5-7e6a-b6ef-bb0e9169e1bf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock_019e41e1-c8f5-79b0-ac30-cb88c9d49d8a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7055-bf09-c56b2b7cd20f" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock_019e41e1-c8f5-79b0-ac30-cb88c9d49d8a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/SummaryofSignificantAccountingPoliciesPolicies" xlink:type="simple" xlink:href="fstr-20260616.xsd#SummaryofSignificantAccountingPoliciesPolicies"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/SummaryofSignificantAccountingPoliciesPolicies" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_019e41e1-c8f5-732d-b8fa-4f43b539392b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_019e41e1-c8f5-765b-a825-0e11f73da54b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_019e41e1-c8f5-732d-b8fa-4f43b539392b" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_019e41e1-c8f5-765b-a825-0e11f73da54b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f5-719d-8101-d019c5cadd5e" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable_019e41e1-c8f5-765b-a825-0e11f73da54b" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f5-719d-8101-d019c5cadd5e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-719d-8101-d019c5cadd5e_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-719d-8101-d019c5cadd5e" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-719d-8101-d019c5cadd5e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-7ee4-b120-1348d3e017c4" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-719d-8101-d019c5cadd5e" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-7ee4-b120-1348d3e017c4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f5-73be-9768-b23b9739465c" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f5-7ee4-b120-1348d3e017c4" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f5-73be-9768-b23b9739465c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock_019e41e1-c8f5-7f14-a539-b5512b323e9e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_019e41e1-c8f5-732d-b8fa-4f43b539392b" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock_019e41e1-c8f5-7f14-a539-b5512b323e9e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanUseOfEstimatePolicyTextBlock_019e41e1-c8f5-77e4-94dc-bdd407809bab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanUseOfEstimatePolicyTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_019e41e1-c8f5-732d-b8fa-4f43b539392b" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanUseOfEstimatePolicyTextBlock_019e41e1-c8f5-77e4-94dc-bdd407809bab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EbpRiskAndUncertaintyPolicyTextBlock_019e41e1-c8f5-7e46-bc96-c549b6b14c01" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EbpRiskAndUncertaintyPolicyTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_019e41e1-c8f5-732d-b8fa-4f43b539392b" xlink:to="loc_us-gaap-ebp_EbpRiskAndUncertaintyPolicyTextBlock_019e41e1-c8f5-7e46-bc96-c549b6b14c01" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock_019e41e1-c8f5-7b42-b89f-1521b9553c75" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_019e41e1-c8f5-732d-b8fa-4f43b539392b" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock_019e41e1-c8f5-7b42-b89f-1521b9553c75" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock_019e41e1-c8f5-7216-8e37-766a35d898d2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_019e41e1-c8f5-732d-b8fa-4f43b539392b" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock_019e41e1-c8f5-7216-8e37-766a35d898d2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock_019e41e1-c8f5-7e5f-9bba-375c3f27aedb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_019e41e1-c8f5-732d-b8fa-4f43b539392b" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock_019e41e1-c8f5-7e5f-9bba-375c3f27aedb" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock_019e41e1-c8f5-7537-a721-567307d4d859" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems_019e41e1-c8f5-732d-b8fa-4f43b539392b" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock_019e41e1-c8f5-7537-a721-567307d4d859" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/FairValueMeasurementsTables" xlink:type="simple" xlink:href="fstr-20260616.xsd#FairValueMeasurementsTables"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/FairValueMeasurementsTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_019e41e1-c8f5-712f-839c-91b759f5a973" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_019e41e1-c8f5-70e9-b958-1c8723fa3ee5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_019e41e1-c8f5-712f-839c-91b759f5a973" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_019e41e1-c8f5-70e9-b958-1c8723fa3ee5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f5-79aa-a0c9-84ccfc7ae0cf" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_019e41e1-c8f5-70e9-b958-1c8723fa3ee5" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f5-79aa-a0c9-84ccfc7ae0cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-79aa-a0c9-84ccfc7ae0cf_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-79aa-a0c9-84ccfc7ae0cf" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-79aa-a0c9-84ccfc7ae0cf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-721b-b51b-b03bd6237624" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-79aa-a0c9-84ccfc7ae0cf" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-721b-b51b-b03bd6237624" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f5-7fb8-9f55-e2ce9431539a" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f5-721b-b51b-b03bd6237624" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f5-7fb8-9f55-e2ce9431539a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock_019e41e1-c8f5-7dce-b98e-c0f371204a87" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_019e41e1-c8f5-712f-839c-91b759f5a973" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock_019e41e1-c8f5-7dce-b98e-c0f371204a87" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/DescriptionofthePlanDetails" xlink:type="simple" xlink:href="fstr-20260616.xsd#DescriptionofthePlanDetails"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/DescriptionofthePlanDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_019e41e1-c8f5-7012-9bf3-06fecb2af5a9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_019e41e1-c8f5-7012-9bf3-06fecb2af5a9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f5-7a1d-a5bc-3b3aa11b2b17" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_019e41e1-c8f5-7012-9bf3-06fecb2af5a9" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f5-7a1d-a5bc-3b3aa11b2b17" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-7a1d-a5bc-3b3aa11b2b17_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7a1d-a5bc-3b3aa11b2b17" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-7a1d-a5bc-3b3aa11b2b17_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-7d2a-9c53-9d25949dca4a" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7a1d-a5bc-3b3aa11b2b17" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-7d2a-9c53-9d25949dca4a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f5-703b-be61-c1adcbab21e4" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f5-7d2a-9c53-9d25949dca4a" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f5-703b-be61-c1adcbab21e4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e41e1-c8f5-7b8d-9e7a-00c2b0ae80d8" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_019e41e1-c8f5-7012-9bf3-06fecb2af5a9" xlink:to="loc_srt_RangeAxis_019e41e1-c8f5-7b8d-9e7a-00c2b0ae80d8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e41e1-c8f5-7b8d-9e7a-00c2b0ae80d8_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e41e1-c8f5-7b8d-9e7a-00c2b0ae80d8" xlink:to="loc_srt_RangeMember_019e41e1-c8f5-7b8d-9e7a-00c2b0ae80d8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e41e1-c8f5-7260-8754-705f85bbbdb9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e41e1-c8f5-7b8d-9e7a-00c2b0ae80d8" xlink:to="loc_srt_RangeMember_019e41e1-c8f5-7260-8754-705f85bbbdb9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019e41e1-c8f5-78d2-9783-39b6837b43b2" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e41e1-c8f5-7260-8754-705f85bbbdb9" xlink:to="loc_srt_MinimumMember_019e41e1-c8f5-78d2-9783-39b6837b43b2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019e41e1-c8f5-7d76-9081-a74c502cf904" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e41e1-c8f5-7260-8754-705f85bbbdb9" xlink:to="loc_srt_MaximumMember_019e41e1-c8f5-7d76-9081-a74c502cf904" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage_019e41e1-c8f5-7850-a524-fc84fa0e589d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage_019e41e1-c8f5-7850-a524-fc84fa0e589d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPParticipantContributionAfterTaxMaximumAnnualContributionToTotalCompensationPercentage_019e41e1-c8f5-7940-9a49-ee3bd60bdda6" xlink:href="fstr-20260616.xsd#fstr_EBPParticipantContributionAfterTaxMaximumAnnualContributionToTotalCompensationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_fstr_EBPParticipantContributionAfterTaxMaximumAnnualContributionToTotalCompensationPercentage_019e41e1-c8f5-7940-9a49-ee3bd60bdda6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionMatchingPercentage_019e41e1-c8f5-7773-aab9-fe899de49eff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanEmployerContributionMatchingPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionMatchingPercentage_019e41e1-c8f5-7773-aab9-fe899de49eff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage_019e41e1-c8f5-7fda-8ac2-472ccbd66947" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage_019e41e1-c8f5-7fda-8ac2-472ccbd66947" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPDiscretionaryProfitSharingContributionServicePeriod_019e41e1-c8f5-7a1e-b84e-86bbe9b3bf86" xlink:href="fstr-20260616.xsd#fstr_EBPDiscretionaryProfitSharingContributionServicePeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_fstr_EBPDiscretionaryProfitSharingContributionServicePeriod_019e41e1-c8f5-7a1e-b84e-86bbe9b3bf86" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPParticipantContributionMaximumAmountInvestedInCompanyStockPercentage_019e41e4-f5ee-7c7c-a826-bee7c298abf5" xlink:href="fstr-20260616.xsd#fstr_EBPParticipantContributionMaximumAmountInvestedInCompanyStockPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_fstr_EBPParticipantContributionMaximumAmountInvestedInCompanyStockPercentage_019e41e4-f5ee-7c7c-a826-bee7c298abf5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPParticipantContributionAccountBalanceTransferMaximumPercentageInvestedInCompanyStock_019e41e7-7642-709f-ad9e-10b94bd9d67f" xlink:href="fstr-20260616.xsd#fstr_EBPParticipantContributionAccountBalanceTransferMaximumPercentageInvestedInCompanyStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_fstr_EBPParticipantContributionAccountBalanceTransferMaximumPercentageInvestedInCompanyStock_019e41e7-7642-709f-ad9e-10b94bd9d67f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPEmployerContributionVestingServicePeriod_019e41e1-c8f5-71a7-938e-783e6374fa52" xlink:href="fstr-20260616.xsd#fstr_EBPEmployerContributionVestingServicePeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_fstr_EBPEmployerContributionVestingServicePeriod_019e41e1-c8f5-71a7-938e-783e6374fa52" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPRetirementAge_019e41e1-c8f5-7b47-b525-6ac4085abd29" xlink:href="fstr-20260616.xsd#fstr_EBPRetirementAge"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_fstr_EBPRetirementAge_019e41e1-c8f5-7b47-b525-6ac4085abd29" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPEarlyRetirementAge_019e41e1-c8f5-75e2-aa75-d6763c1aeefc" xlink:href="fstr-20260616.xsd#fstr_EBPEarlyRetirementAge"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_fstr_EBPEarlyRetirementAge_019e41e1-c8f5-75e2-aa75-d6763c1aeefc" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPEarlyRetirementYearsOfService_019e41e1-c8f5-7520-b8fb-cdc208776cbd" xlink:href="fstr-20260616.xsd#fstr_EBPEarlyRetirementYearsOfService"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_fstr_EBPEarlyRetirementYearsOfService_019e41e1-c8f5-7520-b8fb-cdc208776cbd" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPInvoluntaryCashOutLimit_019e41e1-c8f5-77f6-b32d-da2827653fed" xlink:href="fstr-20260616.xsd#fstr_EBPInvoluntaryCashOutLimit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_fstr_EBPInvoluntaryCashOutLimit_019e41e1-c8f5-77f6-b32d-da2827653fed" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPWithdrawalAge_019e41e1-c8f5-7f70-8688-6919cf81f187" xlink:href="fstr-20260616.xsd#fstr_EBPWithdrawalAge"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_fstr_EBPWithdrawalAge_019e41e1-c8f5-7f70-8688-6919cf81f187" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPMinimumHardshipWithdrawalLimit_019e41e1-c8f5-70bb-87d9-3475a2ab3624" xlink:href="fstr-20260616.xsd#fstr_EBPMinimumHardshipWithdrawalLimit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_fstr_EBPMinimumHardshipWithdrawalLimit_019e41e1-c8f5-70bb-87d9-3475a2ab3624" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMinimumBorrowingAmount_019e41e1-c8f5-7c5b-b70f-db9e187bc82c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMinimumBorrowingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMinimumBorrowingAmount_019e41e1-c8f5-7c5b-b70f-db9e187bc82c" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingAmount_019e41e1-c8f5-7362-ab3f-7b8939debb3b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingAmount_019e41e1-c8f5-7362-ab3f-7b8939debb3b" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPNoteReceivableFromParticipantGeneralLoanMaximumBorrowingTerm_019e41e1-c8f5-74b6-b451-ab646920869c" xlink:href="fstr-20260616.xsd#fstr_EBPNoteReceivableFromParticipantGeneralLoanMaximumBorrowingTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_fstr_EBPNoteReceivableFromParticipantGeneralLoanMaximumBorrowingTerm_019e41e1-c8f5-74b6-b451-ab646920869c" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPNoteReceivableFromParticipantAccountPrimaryResidenceMaximumBorrowingTerm_019e41e1-c8f5-70b6-8e27-0d7cb5c54ae7" xlink:href="fstr-20260616.xsd#fstr_EBPNoteReceivableFromParticipantAccountPrimaryResidenceMaximumBorrowingTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_fstr_EBPNoteReceivableFromParticipantAccountPrimaryResidenceMaximumBorrowingTerm_019e41e1-c8f5-70b6-8e27-0d7cb5c54ae7" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPParticipantLoanBasisSpreadOnVariableRate_019e41e1-c8f5-748e-ad11-4c033b4e8a48" xlink:href="fstr-20260616.xsd#fstr_EBPParticipantLoanBasisSpreadOnVariableRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_fstr_EBPParticipantLoanBasisSpreadOnVariableRate_019e41e1-c8f5-748e-ad11-4c033b4e8a48" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate_019e41e1-c8f5-7307-a3da-707f2bf41ba4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_019e41e1-c8f5-7119-b3f9-ec5cedbfa69b" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate_019e41e1-c8f5-7307-a3da-707f2bf41ba4" xlink:type="arc" order="19"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="simple" xlink:href="fstr-20260616.xsd#FairValueMeasurementsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_019e41e1-c8f5-75a6-9f97-2a240c9748ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_019e41e1-c8f5-726e-8127-a565d33bcaee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_019e41e1-c8f5-75a6-9f97-2a240c9748ef" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_019e41e1-c8f5-726e-8127-a565d33bcaee" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f5-74d2-8eee-2f8b3f8d079f" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_019e41e1-c8f5-726e-8127-a565d33bcaee" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f5-74d2-8eee-2f8b3f8d079f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-74d2-8eee-2f8b3f8d079f_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-74d2-8eee-2f8b3f8d079f" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-74d2-8eee-2f8b3f8d079f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-79c8-913f-fda632d3b18f" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-74d2-8eee-2f8b3f8d079f" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-79c8-913f-fda632d3b18f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f5-7933-bec1-c64e39efc859" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f5-79c8-913f-fda632d3b18f" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f5-7933-bec1-c64e39efc859" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EbpFairValueInvestmentNavRedemptionNoticePeriod_019e41e1-c8f5-7bb7-9904-f51522aa6ee7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EbpFairValueInvestmentNavRedemptionNoticePeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_019e41e1-c8f5-75a6-9f97-2a240c9748ef" xlink:to="loc_us-gaap-ebp_EbpFairValueInvestmentNavRedemptionNoticePeriod_019e41e1-c8f5-7bb7-9904-f51522aa6ee7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EbpFairValueInvestmentNavUnfundedCommitment_019e41e1-c8f5-74ce-b250-eef08a91592e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EbpFairValueInvestmentNavUnfundedCommitment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_019e41e1-c8f5-75a6-9f97-2a240c9748ef" xlink:to="loc_us-gaap-ebp_EbpFairValueInvestmentNavUnfundedCommitment_019e41e1-c8f5-74ce-b250-eef08a91592e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetValuePerShareOrUnit_019e41e1-c8f5-7548-b060-74bb593289ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetValuePerShareOrUnit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_019e41e1-c8f5-75a6-9f97-2a240c9748ef" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanNetAssetValuePerShareOrUnit_019e41e1-c8f5-7548-b060-74bb593289ee" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/FairValueMeasurementsFinancialAssetsatFairValueDetails" xlink:type="simple" xlink:href="fstr-20260616.xsd#FairValueMeasurementsFinancialAssetsatFairValueDetails"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/FairValueMeasurementsFinancialAssetsatFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_019e41e1-c8f5-715f-a2ae-f92282e70251" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_019e41e1-c8f5-77cb-b213-1a2e82532f8f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_019e41e1-c8f5-715f-a2ae-f92282e70251" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_019e41e1-c8f5-77cb-b213-1a2e82532f8f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e41e1-c8f5-77fd-9119-d28469f50f4f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_019e41e1-c8f5-77cb-b213-1a2e82532f8f" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e41e1-c8f5-77fd-9119-d28469f50f4f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e41e1-c8f5-77fd-9119-d28469f50f4f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e41e1-c8f5-77fd-9119-d28469f50f4f" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e41e1-c8f5-77fd-9119-d28469f50f4f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e41e1-c8f5-77cb-b994-f5bdb46e5546" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e41e1-c8f5-77fd-9119-d28469f50f4f" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e41e1-c8f5-77cb-b994-f5bdb46e5546" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel12And3Member_019e41e1-c8f5-7f18-bccd-9c0527aea866" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel12And3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e41e1-c8f5-77cb-b994-f5bdb46e5546" xlink:to="loc_us-gaap_FairValueInputsLevel12And3Member_019e41e1-c8f5-7f18-bccd-9c0527aea866" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_019e41e1-c8f5-762e-bea3-e4f3d173b002" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueInputsLevel12And3Member_019e41e1-c8f5-7f18-bccd-9c0527aea866" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_019e41e1-c8f5-762e-bea3-e4f3d173b002" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_019e41e1-c8f5-7c7e-a8c0-7a14727f0b49" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e41e1-c8f5-77cb-b994-f5bdb46e5546" xlink:to="loc_us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_019e41e1-c8f5-7c7e-a8c0-7a14727f0b49" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_019e41e1-c8f5-7403-b104-240bc9fa550e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_019e41e1-c8f5-77cb-b213-1a2e82532f8f" xlink:to="loc_us-gaap_InvestmentTypeAxis_019e41e1-c8f5-7403-b104-240bc9fa550e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_019e41e1-c8f5-7403-b104-240bc9fa550e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_019e41e1-c8f5-7403-b104-240bc9fa550e" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_019e41e1-c8f5-7403-b104-240bc9fa550e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_019e41e1-c8f5-7642-a6ed-ff7458d2b8d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_019e41e1-c8f5-7403-b104-240bc9fa550e" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_019e41e1-c8f5-7642-a6ed-ff7458d2b8d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MutualFundMember_019e41e1-c8f5-76cc-96f3-5e595330aed9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MutualFundMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_019e41e1-c8f5-7642-a6ed-ff7458d2b8d9" xlink:to="loc_us-gaap_MutualFundMember_019e41e1-c8f5-76cc-96f3-5e595330aed9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanSelfDirectedBrokerageAccountMember_019e41e1-c8f5-7125-9135-5ab87ab0d1ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanSelfDirectedBrokerageAccountMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_019e41e1-c8f5-7642-a6ed-ff7458d2b8d9" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanSelfDirectedBrokerageAccountMember_019e41e1-c8f5-7125-9135-5ab87ab0d1ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019e41e1-c8f5-708f-a01e-d610d4183520" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_019e41e1-c8f5-7642-a6ed-ff7458d2b8d9" xlink:to="loc_us-gaap_CommonStockMember_019e41e1-c8f5-708f-a01e-d610d4183520" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_019e41e1-c8f5-706b-b40f-bcff459b4f08" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MoneyMarketFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_019e41e1-c8f5-7642-a6ed-ff7458d2b8d9" xlink:to="loc_us-gaap_MoneyMarketFundsMember_019e41e1-c8f5-706b-b40f-bcff459b4f08" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f5-776d-894d-480adc5b2947" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable_019e41e1-c8f5-77cb-b213-1a2e82532f8f" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f5-776d-894d-480adc5b2947" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-776d-894d-480adc5b2947_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-776d-894d-480adc5b2947" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-776d-894d-480adc5b2947_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-74cd-839f-4c8063f1eeb2" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-776d-894d-480adc5b2947" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-74cd-839f-4c8063f1eeb2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f5-76eb-a526-2d8df7b350ad" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f5-74cd-839f-4c8063f1eeb2" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f5-76eb-a526-2d8df7b350ad" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue_019e41e1-c8f5-74dc-9133-0f9cbdfcaa0d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems_019e41e1-c8f5-715f-a2ae-f92282e70251" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue_019e41e1-c8f5-74dc-9133-0f9cbdfcaa0d" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/TransactionswithPartiesinInterestDetails" xlink:type="simple" xlink:href="fstr-20260616.xsd#TransactionswithPartiesinInterestDetails"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/TransactionswithPartiesinInterestDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_019e41e1-c8f5-78a8-a57b-d5e74c4cead6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_019e41e1-c8f5-7814-b82a-b2d7e1e4ab2e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_019e41e1-c8f5-78a8-a57b-d5e74c4cead6" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_019e41e1-c8f5-7814-b82a-b2d7e1e4ab2e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f5-7d11-a586-48f237de67e9" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_019e41e1-c8f5-7814-b82a-b2d7e1e4ab2e" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f5-7d11-a586-48f237de67e9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-7d11-a586-48f237de67e9_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7d11-a586-48f237de67e9" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-7d11-a586-48f237de67e9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-7f57-9818-92fdb77d21bc" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7d11-a586-48f237de67e9" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-7f57-9818-92fdb77d21bc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f5-731a-9184-396bf7e2fa08" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f5-7f57-9818-92fdb77d21bc" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f5-731a-9184-396bf7e2fa08" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_019e41e1-c8f5-7404-803d-9e977d248545" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable_019e41e1-c8f5-7814-b82a-b2d7e1e4ab2e" xlink:to="loc_us-gaap_InvestmentTypeAxis_019e41e1-c8f5-7404-803d-9e977d248545" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_019e41e1-c8f5-7404-803d-9e977d248545_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_019e41e1-c8f5-7404-803d-9e977d248545" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_019e41e1-c8f5-7404-803d-9e977d248545_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_019e41e1-c8f5-7041-96cc-eb9b4f639eef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_019e41e1-c8f5-7404-803d-9e977d248545" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_019e41e1-c8f5-7041-96cc-eb9b4f639eef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerCommonStockMember_019e41e1-c8f5-733b-bc3f-9f3aeee4bb1e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanEmployerCommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_019e41e1-c8f5-7041-96cc-eb9b4f639eef" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanEmployerCommonStockMember_019e41e1-c8f5-733b-bc3f-9f3aeee4bb1e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares_019e41e1-c8f5-72aa-9a63-0cb008bb35fa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_019e41e1-c8f5-78a8-a57b-d5e74c4cead6" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares_019e41e1-c8f5-72aa-9a63-0cb008bb35fa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue_019e41e1-c8f5-7629-8472-72b834cd285b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_019e41e1-c8f5-78a8-a57b-d5e74c4cead6" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue_019e41e1-c8f5-7629-8472-72b834cd285b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased_019e41e1-c8f5-7ef7-aef6-ce403fd04bdf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_019e41e1-c8f5-78a8-a57b-d5e74c4cead6" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased_019e41e1-c8f5-7ef7-aef6-ce403fd04bdf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentAcquiredExcludingPlanInterestInMasterTrustCost_019e41e1-c8f5-71b6-a593-f99bb1757b4c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentAcquiredExcludingPlanInterestInMasterTrustCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_019e41e1-c8f5-78a8-a57b-d5e74c4cead6" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentAcquiredExcludingPlanInterestInMasterTrustCost_019e41e1-c8f5-71b6-a593-f99bb1757b4c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForUnrealizedGainLossOnInvestment_019e41e1-c8f5-7474-90be-3725e636c5f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForUnrealizedGainLossOnInvestment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_019e41e1-c8f5-78a8-a57b-d5e74c4cead6" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForUnrealizedGainLossOnInvestment_019e41e1-c8f5-7474-90be-3725e636c5f0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesSold_019e41e1-c8f5-720c-9f8c-f404c70af588" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_019e41e1-c8f5-78a8-a57b-d5e74c4cead6" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesSold_019e41e1-c8f5-720c-9f8c-f404c70af588" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentSoldExcludingPlanInterestInMasterTrustSellingPrice_019e41e1-c8f5-7669-ab6d-ee551b7057e8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentSoldExcludingPlanInterestInMasterTrustSellingPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems_019e41e1-c8f5-78a8-a57b-d5e74c4cead6" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanInvestmentSoldExcludingPlanInterestInMasterTrustSellingPrice_019e41e1-c8f5-7669-ab6d-ee551b7057e8" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/ScheduleHLine4iScheduleofAssetsHeldAtEndofYearDetails" xlink:type="simple" xlink:href="fstr-20260616.xsd#ScheduleHLine4iScheduleofAssetsHeldAtEndofYearDetails"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/ScheduleHLine4iScheduleofAssetsHeldAtEndofYearDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_019e41e1-c8f5-7542-a868-8fedeb158128" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_019e41e1-c8f5-7542-a868-8fedeb158128" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f5-7fd9-a54f-aadc4a8d1dfa" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_019e41e1-c8f5-7542-a868-8fedeb158128" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f5-7fd9-a54f-aadc4a8d1dfa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-7fd9-a54f-aadc4a8d1dfa_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7fd9-a54f-aadc4a8d1dfa" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-7fd9-a54f-aadc4a8d1dfa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-70e9-a897-fc8824d1ae3d" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7fd9-a54f-aadc4a8d1dfa" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-70e9-a897-fc8824d1ae3d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f5-77a3-b2f3-efdcf7ad9498" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f5-70e9-a897-fc8824d1ae3d" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f5-77a3-b2f3-efdcf7ad9498" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIdentifierAxis_019e41e1-c8f5-7f2c-9cc4-1f5fe26c10aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIdentifierAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_019e41e1-c8f5-7542-a868-8fedeb158128" xlink:to="loc_us-gaap_InvestmentIdentifierAxis_019e41e1-c8f5-7f2c-9cc4-1f5fe26c10aa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerNameAxis_019e41e1-c8f5-768d-8789-0826e88da936" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIssuerNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_019e41e1-c8f5-7542-a868-8fedeb158128" xlink:to="loc_us-gaap_InvestmentIssuerNameAxis_019e41e1-c8f5-768d-8789-0826e88da936" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerNameDomain_019e41e1-c8f5-768d-8789-0826e88da936_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIssuerNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentIssuerNameAxis_019e41e1-c8f5-768d-8789-0826e88da936" xlink:to="loc_us-gaap_InvestmentIssuerNameDomain_019e41e1-c8f5-768d-8789-0826e88da936_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerNameDomain_019e41e1-c8f5-74cc-a740-c486474929eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIssuerNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentIssuerNameAxis_019e41e1-c8f5-768d-8789-0826e88da936" xlink:to="loc_us-gaap_InvestmentIssuerNameDomain_019e41e1-c8f5-74cc-a740-c486474929eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_ThirdPartyIssuerMember_019e41e1-c8f5-7bb5-86a1-e793ca15bf5a" xlink:href="fstr-20260616.xsd#fstr_ThirdPartyIssuerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain_019e41e1-c8f5-74cc-a740-c486474929eb" xlink:to="loc_fstr_ThirdPartyIssuerMember_019e41e1-c8f5-7bb5-86a1-e793ca15bf5a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_L.B.FosterCompanyMember_019e41e1-c8f5-7007-a6a7-3863cf8452d7" xlink:href="fstr-20260616.xsd#fstr_L.B.FosterCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain_019e41e1-c8f5-74cc-a740-c486474929eb" xlink:to="loc_fstr_L.B.FosterCompanyMember_019e41e1-c8f5-7007-a6a7-3863cf8452d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e41e1-c8f5-74c9-b891-0f02f92ce30a" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_019e41e1-c8f5-7542-a868-8fedeb158128" xlink:to="loc_srt_RangeAxis_019e41e1-c8f5-74c9-b891-0f02f92ce30a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e41e1-c8f5-74c9-b891-0f02f92ce30a_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e41e1-c8f5-74c9-b891-0f02f92ce30a" xlink:to="loc_srt_RangeMember_019e41e1-c8f5-74c9-b891-0f02f92ce30a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e41e1-c8f5-7fd9-80e0-6977377028d7" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e41e1-c8f5-74c9-b891-0f02f92ce30a" xlink:to="loc_srt_RangeMember_019e41e1-c8f5-7fd9-80e0-6977377028d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019e41e1-c8f5-75ad-ad09-7e79dd6df7c2" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e41e1-c8f5-7fd9-80e0-6977377028d7" xlink:to="loc_srt_MinimumMember_019e41e1-c8f5-75ad-ad09-7e79dd6df7c2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019e41e1-c8f5-755e-8e03-5a5bc85a1704" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e41e1-c8f5-7fd9-80e0-6977377028d7" xlink:to="loc_srt_MaximumMember_019e41e1-c8f5-755e-8e03-5a5bc85a1704" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_019e41e1-c8f5-747c-9e0d-e5a504784a17" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_dei_EntityTaxIdentificationNumber_019e41e1-c8f5-747c-9e0d-e5a504784a17" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanPlanNumber_019e41e1-c8f5-7156-bc5b-e746687c3d06" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanPlanNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanPlanNumber_019e41e1-c8f5-7156-bc5b-e746687c3d06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustCurrentValue_019e41e1-c8f5-7230-8fe4-21f830cec401" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustCurrentValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustCurrentValue_019e41e1-c8f5-7230-8fe4-21f830cec401" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPAssetHeldForInvestmentParticipantLoanMaturityPeriod_019e41e1-c8f5-71d3-8fcb-eea4fbcb6833" xlink:href="fstr-20260616.xsd#fstr_EBPAssetHeldForInvestmentParticipantLoanMaturityPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_fstr_EBPAssetHeldForInvestmentParticipantLoanMaturityPeriod_019e41e1-c8f5-71d3-8fcb-eea4fbcb6833" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate_019e41e1-c8f5-7b0e-93e1-81e54f9ce910" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate_019e41e1-c8f5-7b0e-93e1-81e54f9ce910" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentParticipantLoanAfterDeemedDistribution_019e41e1-c8f5-7740-935a-915ae431c0ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentParticipantLoanAfterDeemedDistribution"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentParticipantLoanAfterDeemedDistribution_019e41e1-c8f5-7740-935a-915ae431c0ee" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment_019e41e1-c8f5-7787-ad68-56e4f312ed98" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment_019e41e1-c8f5-7787-ad68-56e4f312ed98" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.lbfoster.com/role/ScheduleHLine4iScheduleofAssetsHeldAtEndofYearDetails_1" xlink:type="simple" xlink:href="fstr-20260616.xsd#ScheduleHLine4iScheduleofAssetsHeldAtEndofYearDetails_1"/>
  <link:definitionLink xlink:role="http://www.lbfoster.com/role/ScheduleHLine4iScheduleofAssetsHeldAtEndofYearDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_019e41e1-c8f5-7542-a868-8fedeb158128" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_019e41e1-c8f5-7542-a868-8fedeb158128" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019e41e1-c8f5-7fd9-a54f-aadc4a8d1dfa" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_019e41e1-c8f5-7542-a868-8fedeb158128" xlink:to="loc_dei_LegalEntityAxis_019e41e1-c8f5-7fd9-a54f-aadc4a8d1dfa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-7fd9-a54f-aadc4a8d1dfa_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7fd9-a54f-aadc4a8d1dfa" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-7fd9-a54f-aadc4a8d1dfa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019e41e1-c8f5-70e9-a897-fc8824d1ae3d" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019e41e1-c8f5-7fd9-a54f-aadc4a8d1dfa" xlink:to="loc_dei_EntityDomain_019e41e1-c8f5-70e9-a897-fc8824d1ae3d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBP201Member_019e41e1-c8f5-77a3-b2f3-efdcf7ad9498" xlink:href="fstr-20260616.xsd#fstr_EBP201Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019e41e1-c8f5-70e9-a897-fc8824d1ae3d" xlink:to="loc_fstr_EBP201Member_019e41e1-c8f5-77a3-b2f3-efdcf7ad9498" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerNameAxis_019e41e1-c8f5-768d-8789-0826e88da936" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIssuerNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_019e41e1-c8f5-7542-a868-8fedeb158128" xlink:to="loc_us-gaap_InvestmentIssuerNameAxis_019e41e1-c8f5-768d-8789-0826e88da936" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerNameDomain_019e41e1-c8f5-768d-8789-0826e88da936_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIssuerNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentIssuerNameAxis_019e41e1-c8f5-768d-8789-0826e88da936" xlink:to="loc_us-gaap_InvestmentIssuerNameDomain_019e41e1-c8f5-768d-8789-0826e88da936_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerNameDomain_019e41e1-c8f5-74cc-a740-c486474929eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentIssuerNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentIssuerNameAxis_019e41e1-c8f5-768d-8789-0826e88da936" xlink:to="loc_us-gaap_InvestmentIssuerNameDomain_019e41e1-c8f5-74cc-a740-c486474929eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_ThirdPartyIssuerMember_019e41e1-c8f5-7bb5-86a1-e793ca15bf5a" xlink:href="fstr-20260616.xsd#fstr_ThirdPartyIssuerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain_019e41e1-c8f5-74cc-a740-c486474929eb" xlink:to="loc_fstr_ThirdPartyIssuerMember_019e41e1-c8f5-7bb5-86a1-e793ca15bf5a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_L.B.FosterCompanyMember_019e41e1-c8f5-7007-a6a7-3863cf8452d7" xlink:href="fstr-20260616.xsd#fstr_L.B.FosterCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerNameDomain_019e41e1-c8f5-74cc-a740-c486474929eb" xlink:to="loc_fstr_L.B.FosterCompanyMember_019e41e1-c8f5-7007-a6a7-3863cf8452d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e41e1-c8f5-74c9-b891-0f02f92ce30a" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_019e41e1-c8f5-7542-a868-8fedeb158128" xlink:to="loc_srt_RangeAxis_019e41e1-c8f5-74c9-b891-0f02f92ce30a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e41e1-c8f5-74c9-b891-0f02f92ce30a_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e41e1-c8f5-74c9-b891-0f02f92ce30a" xlink:to="loc_srt_RangeMember_019e41e1-c8f5-74c9-b891-0f02f92ce30a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e41e1-c8f5-7fd9-80e0-6977377028d7" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e41e1-c8f5-74c9-b891-0f02f92ce30a" xlink:to="loc_srt_RangeMember_019e41e1-c8f5-7fd9-80e0-6977377028d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019e41e1-c8f5-75ad-ad09-7e79dd6df7c2" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e41e1-c8f5-7fd9-80e0-6977377028d7" xlink:to="loc_srt_MinimumMember_019e41e1-c8f5-75ad-ad09-7e79dd6df7c2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019e41e1-c8f5-755e-8e03-5a5bc85a1704" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e41e1-c8f5-7fd9-80e0-6977377028d7" xlink:to="loc_srt_MaximumMember_019e41e1-c8f5-755e-8e03-5a5bc85a1704" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_019e41e1-c8f5-747c-9e0d-e5a504784a17" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_dei_EntityTaxIdentificationNumber_019e41e1-c8f5-747c-9e0d-e5a504784a17" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanPlanNumber_019e41e1-c8f5-7156-bc5b-e746687c3d06" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanPlanNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanPlanNumber_019e41e1-c8f5-7156-bc5b-e746687c3d06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustCurrentValue_019e41e1-c8f5-7230-8fe4-21f830cec401" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustCurrentValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustCurrentValue_019e41e1-c8f5-7230-8fe4-21f830cec401" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_fstr_EBPAssetHeldForInvestmentParticipantLoanMaturityPeriod_019e41e1-c8f5-71d3-8fcb-eea4fbcb6833" xlink:href="fstr-20260616.xsd#fstr_EBPAssetHeldForInvestmentParticipantLoanMaturityPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_fstr_EBPAssetHeldForInvestmentParticipantLoanMaturityPeriod_019e41e1-c8f5-71d3-8fcb-eea4fbcb6833" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate_019e41e1-c8f5-7b0e-93e1-81e54f9ce910" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate_019e41e1-c8f5-7b0e-93e1-81e54f9ce910" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentParticipantLoanAfterDeemedDistribution_019e41e1-c8f5-7740-935a-915ae431c0ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentParticipantLoanAfterDeemedDistribution"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentParticipantLoanAfterDeemedDistribution_019e41e1-c8f5-7740-935a-915ae431c0ee" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment_019e41e1-c8f5-7787-ad68-56e4f312ed98" xlink:href="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_019e41e1-c8f5-7be6-b4b9-9946129615de" xlink:to="loc_us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment_019e41e1-c8f5-7787-ad68-56e4f312ed98" xlink:type="arc" order="6"/>
  </link:definitionLink>
</link:linkbase>
